[apparmor] [patch] X abstraction: adjust for LightDM xauthority location
Steve Beattie
steve at nxnw.org
Thu Oct 2 18:02:56 UTC 2014
On Thu, Oct 02, 2014 at 07:43:40PM +0200, Christian Boltz wrote:
> Am Donnerstag, 2. Oktober 2014 schrieb Steve Beattie:
> > Bug: https://bugs.launchpad.net/bugs/1339727
> >
> > LightDM keeps moving the location where it stores xauthority files for
> > users, when configured to store them in a system directory (e.g. with
> >
> > [LightDM]
> > user-authority-in-system-dir=true
> >
> > set in a lightdm configuration file).
> >
> > Signed-off-by: Steve Beattie <steve at nxnw.org>
> > ---
> > profiles/apparmor.d/abstractions/X | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > Index: b/profiles/apparmor.d/abstractions/X
> > ===================================================================
> > --- a/profiles/apparmor.d/abstractions/X
> > +++ b/profiles/apparmor.d/abstractions/X
> > @@ -19,6 +19,8 @@
> > owner @{HOME}/.Xauthority r,
> > owner /{,var/}run/gdm{,3}/*/database r,
> > owner /{,var/}run/lightdm/authority/[0-9]* r,
> > + # lightdm keeps moving these around
> > + owner /{,var/}run/lightdm/*/xauthority r,
> >
> > # the unix socket to use to connect to the display
> > /tmp/.X11-unix/* w,
>
> I vote for not adding the comment ;-)
Fair enough, had a case of the early morning grinches.
> Besides that,
> Acked-by: Christian Boltz <apparmor at cboltz.de>
Thanks!
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- 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/20141002/bac19e3e/attachment.pgp>
More information about the AppArmor
mailing list