For anyone, like me, who is naive enough to think that it's possible to set XDG_CACHE_HOME or DCONF_PROFILE to values other than the default, note that this fix _only_ allows access to the "user" profile. If you rename your user profile, you cannot use any apparmor-enabled application that uses dconf. I know there's nothing to be done about this, but I'm leaving this comment here lest anyone else encounter this situation.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1062531 Title: apparmor prevents evince from accessing /run/user/ Status in “evince” package in Ubuntu: Fix Released Status in “evince” source package in Quantal: Fix Released Bug description: When I start evince it displays many error messages like this one: $ evince ** (evince:4549): CRITICAL **: unable to create file '/run/user/bonnaud/dconf/user': Permission denied. dconf will not work properly. [message repeated 10 times] and the kernel outputs those error messages: [ 514.160868] type=1400 audit(1349467722.309:98): apparmor="DENIED" operation="open" parent=3774 profile="/usr/bin/evince" name="/run/user/bonnaud/dconf/user" pid=4549 comm="evince" requested_mask="rwc" denied_mask="rwc" fsuid=1000 ouid=1000 [message repeated 10 times] In the apparmor profile for evince contained in those files: /etc/apparmor.d/abstractions/evince /etc/apparmor.d/usr.bin.evince there is nothing concerning /run/user/. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: evince 3.6.0-0ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-17.27-generic 3.5.5 Uname: Linux 3.5.0-17-generic i686 ApportVersion: 2.6.1-0ubuntu1 Architecture: i386 Date: Fri Oct 5 22:09:11 2012 EcryptfsInUse: Yes SourcePackage: evince UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1062531/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp