[apparmor] [patch] fix abstractions/X for new gdm path to Xauthority

Tyler Hicks tyhicks at canonical.com
Wed Mar 25 21:54:21 UTC 2015


On 2015-03-25 14:52:39, Seth Arnold wrote:
> Bruce Pieterse reports that AppArmor denied evince, among other
> applications, from starting properly:
> https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1432126
> 
> He tested a slight variant of the attached patch and reported success. I
> propose this patch for both trunk and 2.9.
> 
> Signed-off-by: Seth Arnold <seth.arnold at canonical.com>

Acked-by: Tyler Hicks <tyhicks at canonical.com>

> 
> Thanks

> === modified file 'profiles/apparmor.d/abstractions/X'
> --- profiles/apparmor.d/abstractions/X	2014-10-02 18:06:05 +0000
> +++ profiles/apparmor.d/abstractions/X	2015-03-25 21:48:09 +0000
> @@ -20,6 +20,7 @@
>    owner /{,var/}run/gdm{,3}/*/database r,
>    owner /{,var/}run/lightdm/authority/[0-9]* r,
>    owner /{,var/}run/lightdm/*/xauthority r,
> +  owner /{,var/}run/user/*/gdm/Xauthority r,
>  
>    # the unix socket to use to connect to the display
>    /tmp/.X11-unix/*           w,
> 




> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150325/b7fb05eb/attachment.pgp>


More information about the AppArmor mailing list