Bug#827335: evince: assertion failed: (wayland_display->cursor_theme_name)
Diane Trout
diane at ghic.org
Tue Oct 11 17:52:20 UTC 2016
> It's aborting because loading the cursor theme is failing for some
> reason. And this may be a wild guess, but can you check permissions
> on
> $XDG_RUNTIME_DIR ? You'll need write access to that directory.
>
Apparently I should have remembered that I was running under apparmor
as well as wayland.
I put evince in complain mode and saw this:
[134561.048582] audit: type=1400 audit(1476207699.328:1487):
apparmor="ALLOWED" operation="mknod" profile="/usr/bin/evince"
name="/run/user/1000/weston-shared-AiELNF" pid=9537 comm="evince"
requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[134561.048591] audit: type=1400 audit(1476207699.328:1488):
apparmor="ALLOWED" operation="open" profile="/usr/bin/evince"
name="/run/user/1000/weston-shared-AiELNF" pid=9537 comm="evince"
requested_mask="rwc" denied_mask="rwc" fsuid=1000 ouid=1000
[134561.048601] audit: type=1400 audit(1476207699.328:1489):
apparmor="ALLOWED" operation="unlink" profile="/usr/bin/evince"
name="/run/user/1000/weston-shared-AiELNF" pid=9537 comm="evince"
requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
[134561.048663] audit: type=1400 audit(1476207699.328:1490):
apparmor="ALLOWED" operation="truncate" profile="/usr/bin/evince"
name="/run/user/1000/weston-shared-AiELNF" pid=9537 comm="evince"
requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
I'm assuming the token at the end of the file name is a a random
string.
I made the change below to /etc/apparmor.d/usr.bin.evince and tested it
first with rwl and then rw (both of which worked).
Diane
--- debian/evince/etc/apparmor.d/usr.bin.evince 2016-10-10
23:32:09.826405495 -0700
+++ /etc/apparmor.d/usr.bin.evince 2016-10-11 10:45:06.401131452
-0700
@@ -65,8 +65,9 @@
owner @{HOME}/** rw,
owner /media/** rw,
owner @{HOME}/.local/share/gvfs-metadata/** l,
owner /{,var/}run/user/*/gvfs-metadata/** l,
+ owner /{,var/}run/user/*/weston-shared-* rw,
owner @{HOME}/.gnome2/evince/* rwl,
owner @{HOME}/.gnome2/accels/ rw,
owner @{HOME}/.gnome2/accelsevince rw,
More information about the pkg-gnome-maintainers
mailing list