diff --git a/apparmor.d/groups/ubuntu/release-upgrade-motd b/apparmor.d/groups/ubuntu/release-upgrade-motd index 5e8adc42..0c99c37d 100644 --- a/apparmor.d/groups/ubuntu/release-upgrade-motd +++ b/apparmor.d/groups/ubuntu/release-upgrade-motd @@ -15,7 +15,7 @@ profile release-upgrade-motd @{exec_path} { /{usr/,}bin/{,ba,da}sh rix, /{usr/,}bin/date rix, /{usr/,}bin/expr rix, - /{usr/,}bin/id rix, + /{usr/,}bin/id rPx, /{usr/,}bin/stat rix, /{usr/,}bin/do-release-upgrade rPx, diff --git a/apparmor.d/profiles-s-z/zsysd b/apparmor.d/profiles-s-z/zsysd index 788eac49..1ca6e0e0 100644 --- a/apparmor.d/profiles-s-z/zsysd +++ b/apparmor.d/profiles-s-z/zsysd @@ -34,7 +34,7 @@ profile zsysctl @{exec_path} flags=(complain) { @{run}/zsys-snapshot.unattended-upgrades rw, @{run}/zsysd.sock rw, - owner @{PROC}/@{pids}/stats r, + owner @{PROC}/@{pids}/stat r, @{PROC}/@{pids}/mounts r, @{PROC}/cmdline r, @{PROC}/filesystems r,