feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-09-15 22:01:08 +01:00
parent 1d68b5bbc4
commit 6a78b17d23
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
22 changed files with 62 additions and 35 deletions

View file

@ -45,6 +45,7 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
/usr/share/unattended-upgrades/unattended-upgrade-shutdown r,
/etc/debconf.conf r,
/etc/init.d/* r,
/etc/needrestart/{,**} r,
/etc/needrestart/*.d/* rix,
/etc/shadow r,
@ -57,6 +58,8 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
owner /var/lib/juju/agents/{,**} r,
owner /var/cache/debconf/{config,passwords,templates}.dat{,-new,-old} rwk,
owner @{run}/sshd.pid r,
@{PROC}/ r,
@{PROC}/@{pids}/cgroup r,
@{PROC}/@{pids}/cmdline r,