[apparmor] [patch] X abstraction: adjust for LightDM xauthority location
Christian Boltz
apparmor at cboltz.de
Thu Oct 2 17:43:40 UTC 2014
Hello,
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 ;-)
Besides that,
Acked-by: Christian Boltz <apparmor at cboltz.de>
Regards,
Christian Boltz
--
Re: [bulk]: Re: [bulk]: Re: [bulk]: Re: [bulk]: Re: [bulk]: Re: [bulk]:
> So ungefähr sieht die Betreff-Leiste Aus, wenn der Re: [bulk]: Re:
> [bulk]: Blödsinn noch 'ne Weile weitergeführt wird.
Die Leute wollten vermutlich nur das ebenso schwachsinnige Subject "AW:
AW: AW: AW: AW:" der letzten Tage uebertreffen ;-)
[Martin Falley und Thomas Hertweck in suse-linux]
More information about the AppArmor
mailing list