diff --git a/apparmor.d/groups/lxqt/lxqt-notificationd b/apparmor.d/groups/lxqt/lxqt-notificationd index 0669b8c86..c204940a5 100644 --- a/apparmor.d/groups/lxqt/lxqt-notificationd +++ b/apparmor.d/groups/lxqt/lxqt-notificationd @@ -10,26 +10,13 @@ include @{exec_path} = @{bin}/lxqt-notificationd profile lxqt-notificationd @{exec_path} { include + include include include include - dbus receive - bus=session - path="/org/freedesktop/Notifications" - interface="org.freedesktop.DBus.Introspectable" - peer=(name=":[0-9]*.[0-9]*"), - dbus send - bus=session - path="/org/freedesktop/Notifications" - interface="org.freedesktop.Notifications" - peer=(name="org.freedesktop.DBus"), - dbus receive - bus=session - path="/org/freedesktop/Notifications" - interface="org.freedesktop.Notifications" - peer=(name=":[0-9]*.[0-9]*"), - + #aa:dbus own bus=session name=org.freedesktop.Notifications + @{exec_path} mr, @{bin}/lxqt-config-notificationd rPx, @@ -45,10 +32,6 @@ profile lxqt-notificationd @{exec_path} { owner /tmp/@{int} r, - /dev/tty rw, - /dev/tty@{int} rw, - owner /dev/tty@{int} rw, - include if exists }