feat(profile): allow needrestart to scan more directories.
This commit is contained in:
parent
b9eaa840bd
commit
d162032af9
1 changed files with 8 additions and 11 deletions
|
|
@ -26,7 +26,6 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{bin}/* r,
|
||||
@{sh_path} rix,
|
||||
@{bin}/dpkg-query rpx,
|
||||
@{bin}/fail2ban-server rPx,
|
||||
|
|
@ -43,11 +42,6 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
|||
@{lib}/needrestart/* rPx,
|
||||
/usr/share/debconf/frontend rix,
|
||||
|
||||
@{att}/@{lib}/@{python_name}/** r,
|
||||
|
||||
/usr/share/needrestart/{,**} r,
|
||||
/usr/share/unattended-upgrades/unattended-upgrade-shutdown r,
|
||||
|
||||
/etc/debconf.conf r,
|
||||
/etc/init.d/* r,
|
||||
/etc/needrestart/{,**} r,
|
||||
|
|
@ -56,11 +50,14 @@ profile needrestart @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
/ r,
|
||||
/boot/ r,
|
||||
/boot/intel-ucode.img r,
|
||||
/boot/vmlinuz* r,
|
||||
|
||||
owner /var/lib/juju/agents/{,**} r,
|
||||
owner /var/cache/debconf/{config,passwords,templates}.dat{,-new,-old} rwk,
|
||||
/boot/* r,
|
||||
/opt/*/** r,
|
||||
@{bin}/* r,
|
||||
@{lib}/** r,
|
||||
@{sbin}/** r,
|
||||
@{att}/@{lib}/** r,
|
||||
/usr/share/** r,
|
||||
/var/lib/*/** r,
|
||||
|
||||
/tmp/@{word10}/ rw,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue