summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDani Llewellyn <[email protected]>2021-09-27 19:43:59 +0100
committerMartin Wimpress <[email protected]>2021-10-12 11:36:48 +0100
commiteac56181202fc77155d3aa2220fc7d4fe74290b0 (patch)
tree79d38b54d33f31ad22efb482eb906bdc6566af09
parent8238723e427a1e196b9752aef281d029c4982f58 (diff)
downloadmate-notification-daemon-eac56181202fc77155d3aa2220fc7d4fe74290b0.tar.bz2
mate-notification-daemon-eac56181202fc77155d3aa2220fc7d4fe74290b0.tar.xz
Add AssumedAppArmorLabel to dbus service file
Snap packages are unable to trigger the notification daemon in a fully confined package, because the snapd apparmor rules state that the target of the dbus call must specify that it is labelled `unconfined`. See https://forum.snapcraft.io/t/snapd-doesnt-allow-notification-daemon-to-be-activatable/22912/1 for the details. Signed-off-by: Dani Llewellyn <[email protected]>
-rw-r--r--data/org.freedesktop.mate.Notifications.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/org.freedesktop.mate.Notifications.service.in b/data/org.freedesktop.mate.Notifications.service.in
index 343f57f..4ce7697 100644
--- a/data/org.freedesktop.mate.Notifications.service.in
+++ b/data/org.freedesktop.mate.Notifications.service.in
@@ -1,3 +1,4 @@
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=@LIBEXECDIR@/mate-notification-daemon
+AssumedAppArmorLabel=unconfined