Browse Source

apparmor profile for docker container: grant permission to suspend

amendment to https://github.com/fphammerle/systemctl-mqtt/commit/9566cf4e696a0aaa18929ffbb142245c1cba4e0b
Fabian Peter Hammerle 2 months ago
parent
commit
c82717f62f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker-apparmor-profile

+ 1 - 1
docker-apparmor-profile

@@ -46,7 +46,7 @@ profile systemctl-mqtt flags=(attach_disconnected) {
        bus=system
        path=/org/freedesktop/login1
        interface=org.freedesktop.login1.Manager
-       member={Inhibit,ListInhibitors,ScheduleShutdown,LockSessions}
+       member={Inhibit,ListInhibitors,ScheduleShutdown,LockSessions,Suspend}
        peer=(label=unconfined),
   dbus (receive)
        bus=system