diff --git a/apparmor.d/profiles-s-z/usbguard-daemon b/apparmor.d/profiles-s-z/usbguard-daemon index 520203a1..f831200e 100644 --- a/apparmor.d/profiles-s-z/usbguard-daemon +++ b/apparmor.d/profiles-s-z/usbguard-daemon @@ -20,7 +20,7 @@ profile usbguard-daemon @{exec_path} flags=(attach_disconnected) { network netlink dgram, unix (bind, listen) type=stream, - unix (bind, connect, listen) type=stream peer=(label=usbguard-dbus, addr=none), + unix (connect) type=stream peer=(label=usbguard-dbus, addr=none), @{exec_path} mr, diff --git a/apparmor.d/profiles-s-z/usbguard-dbus b/apparmor.d/profiles-s-z/usbguard-dbus index 12de9531..20cd6751 100644 --- a/apparmor.d/profiles-s-z/usbguard-dbus +++ b/apparmor.d/profiles-s-z/usbguard-dbus @@ -10,7 +10,7 @@ include @{exec_path} = @{bin}/usbguard-dbus profile usbguard-dbus @{exec_path} { include - include + include # Needed? deny capability sys_nice,