Evince's AppArmor profile prevents opening docs from other apps under Wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned | ||
2.10 |
Fix Released
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Evince fails to run when launched from another app (Nautilus, Ephy, etc) and running under Wayland. For example, nothing appears to happen when double-clicking on a PDF file in Nautilus. Evince is launched, but its Apparmour profile is preventing access to a Wayland socket, hence it immediately exits.
The following is typical of the reported error:
> Oct 19 15:06:40 payens kernel: audit: type=1400 audit(144522760
Adding the following lines to it's local Apparmour config and reloading Apparmour fixes the problem:
> owner /run/user/
> owner /run/user/
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: evince 3.16.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Oct 19 17:49:19 2015
InstallationDate: Installed on 2015-07-22 (89 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: evince
UpgradeStatus: Upgraded to wily on 2015-08-27 (52 days ago)
affects: | evince (Ubuntu) → apparmor (Ubuntu) |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Low |
Changed in apparmor: | |
milestone: | none → 2.11 |
Changed in apparmor: | |
status: | New → Fix Committed |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
/run/user/ 1000/wayland- 0 doesn't sound like an Evince-specific thing. Would it make sense to add it to the X abstraction instead? (restricting it to "owner" probably makes sense)