Package: apparmor
Version: 2.7.0-1
Severity: normal
Tags: patch

Hi,

In Ubuntu, GDM puts its state files into /{,var/}run/gdm.
In Debian, GDM puts its state files into /{,var/}run/gdm3.

Please consider applying this patch to support Debian's way in
addition to Ubuntu's way:

diff --git a/apparmor.d/abstractions/X b/apparmor.d/abstractions/X
index 9ec4123..e093371 100644
--- a/apparmor.d/abstractions/X
+++ b/apparmor.d/abstractions/X
@@ -17,7 +17,7 @@
 
   # .Xauthority files required for X connections, per user
   @{HOME}/.Xauthority           r,
-  owner /{,var/}run/gdm/*/database r,
+  owner /{,var/}run/gdm{,3}/*/database r,
   owner /{,var/}run/lightdm/authority/[0-9]* r,
 
   # the unix socket to use to connect to the display

Cheers,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
  | Did you exchange a walk on part in the war
  | for a lead role in the cage?



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to