]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Permit access to /tmp dbus socket
authorDave Jones <dave.jones@canonical.com>
Tue, 3 Jan 2023 18:42:51 +0000 (18:42 +0000)
committerDave Jones <dave.jones@canonical.com>
Tue, 3 Jan 2023 18:42:51 +0000 (18:42 +0000)
After 6e48c317 the test-apparmor-activation test fails as it can no
longer access the dbus socket in /tmp. This commit updates the apparmor
profile used within the test

test/data/dbus-installed-tests.aaprofile.in

index 7a65282aa82b74f6d15d6434d91629a0fd88754a..edb793c1958e8969bf3d385a7d08604abf4ffa9e 100644 (file)
@@ -32,6 +32,7 @@
   # We aren't really confining this process seriously; allow most things.
   /** mrix,
   /tmp/dbus-daemon-test.*/{,**} w,
+  /tmp/dbus-* w,
   @{sys}/kernel/security/apparmor/** w,
   dbus (send, receive, bind),
   network,
@@ -44,6 +45,7 @@
     #include <abstractions/base>
 
     /** mrix,
+    /tmp/dbus-* w,
     @{sys}/kernel/security/apparmor/** w,
     dbus (send, receive, bind),
     network,
@@ -62,6 +64,7 @@
     #include <abstractions/base>
 
     /** mrix,
+    /tmp/dbus-* w,
     @{sys}/kernel/security/apparmor/** w,
     dbus,
     network,
@@ -88,6 +91,7 @@
     #include <abstractions/base>
 
     /** mrix,
+    /tmp/dbus-* w,
     @{sys}/kernel/security/apparmor/** w,
     dbus (send, receive, bind),
     network,