When launching evince, I get this error:
EvinceDocument-WARNING **: 10:14:16.337: Error opening directory “/usr/lib/x86_64-linux-gnu/evince/4/backends”: Permission denied
I have already put evince in complain mode, so I think:
aa-complain /usr/bin/evince
systemctl restart apparmor
Status shows evince is in complain mode:
apparmor_status
22 profiles are in complain mode.
/usr/bin/evince
I am running Ubuntu with overlayfs root. I have also tried stopping apparmor altogether.
I can do ls -al /usr/lib/x86_64-linux-gnu/evince/4/backends and see the files just fine. If I run strace evince, I see the exact same output, that is cannot open that directory.
- How can I fix that?
- If it is a fatal error, why is evince logging it as a warning?
- If apparmor is permitting access (as evidence in dmesg output (ALLOW)), why is it still complaining?
EDIT: #1
1. Ubuntu 19.10 Server as a base (not as a install, nor a debootstrap, but close to a debootstrap)
2. xorg + i3 tiling wm installed
3. no virtualization
4. most other applications work as expected
I would recommend to reinstall the Evince packages first with
and then retry.
I solved this by:
apparmor_parser -R /etc/apparmor.d/usr.bin.evince
/etc/apparmor.d/usr.bin.evince via /etc/apparmor.d/disable