Permit access to /tmp dbus socket

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

(cherry picked from commit 9950464761)
(cherry picked from commit 849382fe6d)
This commit is contained in:
Dave Jones 2023-01-03 18:42:51 +00:00 committed by Simon McVittie
parent de0bfb4587
commit df501e7afa

View 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,