From 55cb4b70fe33b1c6bc565ca4c8a858872d627e1e Mon Sep 17 00:00:00 2001 From: barmogund Date: Sun, 10 Nov 2024 11:13:04 +0100 Subject: [PATCH] Update unbound The marked entries were indeed superfluous. No errors on compalin and enforce mode --- apparmor.d/profiles-s-z/unbound | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/apparmor.d/profiles-s-z/unbound b/apparmor.d/profiles-s-z/unbound index 4c0fb9082..4936659ab 100644 --- a/apparmor.d/profiles-s-z/unbound +++ b/apparmor.d/profiles-s-z/unbound @@ -15,7 +15,6 @@ profile unbound @{exec_path} flags=(attach_disconnected) { include include include - include capability net_bind_service, capability net_raw, @@ -23,7 +22,6 @@ profile unbound @{exec_path} flags=(attach_disconnected) { capability sys_chroot, capability setgid, capability setuid, - capability setpcap, network unix stream, network unix dgram, @@ -34,22 +32,13 @@ profile unbound @{exec_path} flags=(attach_disconnected) { network netlink raw, signal (receive) set=(term, cont) peer=runsv, - #aa:dbus own bus=system name=org.freedesktop.resolve1 - - dbus send bus=system path=/org/freedesktop/DBus - interface=org.freedesktop.DBus - member={GetConnectionUnixUser,GetConnectionUnixProcessID} - peer=(name=org.freedesktop.DBus, label=dbus-system), @{exec_path} mr, - /etc/unbound/{,**} rw, - /etc/systemd/resolved.conf r, - /etc/systemd/resolved.conf.d/{,*} r, + /etc/unbound/{,**} r, @{run}/systemd/netif/links/* r, @{run}/systemd/notify rw, - @{run}/systemd/resolve/{,**} rw, @{PROC}/@{pid}/cgroup r, @{PROC}/ r,