You have been subscribed to a public bug:

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(1445227600.333:26): apparmor="DENIED" operation="connect"
profile="/usr/bin/evince" name="/run/user/1000/wayland-0" pid=12956
comm="evince" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000

Adding the following lines to it's local Apparmour config and reloading
Apparmour fixes the problem:

>  owner /run/user/*/wayland-* rw,
>  owner /run/user/*/weston-shared-* rw,

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: evince 3.16.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
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: apparmor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug gnome3-ppa third-party-packages 
wayland-session wily
-- 
Evince's Apparmour profile prevents opening docs from other apps under Wayland
https://bugs.launchpad.net/bugs/1507469
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to apparmor in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to