diff options
author | Dave Jones <dave.jones@canonical.com> | 2023-01-03 18:42:51 +0000 |
---|---|---|
committer | Dave Jones <dave.jones@canonical.com> | 2023-01-03 18:42:51 +0000 |
commit | 9950464761f0c44e08fb93155ca6e7f4b1d8a31f (patch) | |
tree | 8f5e304646b234ef12b3fe60fb7ae0d134323f39 /test | |
parent | 45b7e104caf9bac005bfbe02e9aa60487201d960 (diff) |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/data/dbus-installed-tests.aaprofile.in | 4 |
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, |