summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <dave.jones@canonical.com>2023-01-03 18:42:51 +0000
committerSimon McVittie <smcv@collabora.com>2023-02-08 11:41:44 +0000
commitdf501e7afa43e2f27bf2b9fa4672e4bb0b479466 (patch)
treee7069998336c9ea691a784f22d5aa86777544ffd
parentde0bfb45879438677d604efdf25cad7bc77c853a (diff)
downloaddbus-df501e7afa43e2f27bf2b9fa4672e4bb0b479466.tar.gz
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 9950464761f0c44e08fb93155ca6e7f4b1d8a31f) (cherry picked from commit 849382fe6daaf06b99269410091aa96f718f346a)
-rw-r--r--test/data/dbus-installed-tests.aaprofile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/dbus-installed-tests.aaprofile.in b/test/data/dbus-installed-tests.aaprofile.in
index 7a65282a..edb793c1 100644
--- a/test/data/dbus-installed-tests.aaprofile.in
+++ b/test/data/dbus-installed-tests.aaprofile.in
@@ -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,