From b5e2a73edeb59c8a8eedc710997e08f43b42bcfc Mon Sep 17 00:00:00 2001 From: John Johansen Date: Sat, 30 Oct 2021 09:16:37 +0000 Subject: [PATCH] Merge Add missing /proc permissions to avahi-daemon profile Fixes: https://gitlab.com/apparmor/apparmor/-/issues/203 MR:https://gitlab.com/apparmor/apparmor/-/merge_requests/811 Acked-by: John Johansen (cherry picked from commit ee9e61aad284f4edbebbd7cd0e8d9ac452455958) Signed-off-by: John Johansen --- profiles/apparmor.d/usr.sbin.avahi-daemon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/apparmor.d/usr.sbin.avahi-daemon b/profiles/apparmor.d/usr.sbin.avahi-daemon index a56d4a11a..9dac74aaa 100644 --- a/profiles/apparmor.d/usr.sbin.avahi-daemon +++ b/profiles/apparmor.d/usr.sbin.avahi-daemon @@ -20,6 +20,9 @@ profile avahi-daemon /usr/{bin,sbin}/avahi-daemon { /etc/avahi/services/ r, /etc/avahi/services/*.service r, @{PROC}/@{pid}/fd/ r, + @{PROC}/1/environ r, + @{PROC}/cmdline r, + @{PROC}/sys/kernel/osrelease r, /usr/{bin,sbin}/avahi-daemon mr, /usr/share/avahi/introspection/*.introspect r, /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.*.xml r,