fix(profile): some fix on the dpkg-scipts profiles.
This commit is contained in:
parent
010ccf43e3
commit
b2afeee510
5 changed files with 16 additions and 9 deletions
|
|
@ -9,10 +9,10 @@ include <tunables/global>
|
|||
@{exec_path} = /var/lib/dpkg/info/apparmor*
|
||||
profile dpkg-script-apparmor @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/debconf>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/perl>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{exec_path} mrix,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/grep ix,
|
||||
|
|
@ -21,6 +21,7 @@ profile dpkg-script-apparmor @{exec_path} {
|
|||
@{bin}/deb-systemd-invoke Px,
|
||||
@{bin}/dpkg-divert ix,
|
||||
@{bin}/systemctl Cx -> systemctl,
|
||||
@{sbin}/apparmor_parser Px,
|
||||
|
||||
/usr/share/apparmor.d/** rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ profile dpkg-script-linux @{exec_path} {
|
|||
@{bin}/linux-check-removal Px,
|
||||
@{bin}/linux-update-symlinks Px,
|
||||
@{bin}/whiptail Px,
|
||||
@{bin}/dpkg-maintscript-helper Px,
|
||||
|
||||
/usr/share/{update,reboot}-notifier/notify-reboot-required Px,
|
||||
/etc/kernel/{,header_}postinst.d/* Px,
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = /var/lib/dpkg/info/systemd*
|
||||
profile dpkg-script-systemd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/debconf>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
|||
profile dpkg-script-tmp @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/perl>
|
||||
|
||||
@{exec_path} mrix,
|
||||
|
||||
|
|
@ -22,6 +23,9 @@ profile dpkg-script-tmp @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/dpkg-maintscript-helper Px,
|
||||
@{bin}/kmod Cx -> kmod,
|
||||
@{bin}/systemctl Cx -> systemctl,
|
||||
/usr/share/debconf/frontend Px,
|
||||
|
||||
/usr/share/debconf/confmodule r,
|
||||
|
||||
/etc/kernel/preinst.d/*-microcode ix,
|
||||
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ profile dpkg-scripts @{exec_path} {
|
|||
@{lib}/ r,
|
||||
/etc/ r,
|
||||
/etc/** rw,
|
||||
/usr/share/*/ r,
|
||||
/usr/share/*/** rw,
|
||||
/usr/share/*/{,**} rw,
|
||||
/usr/local/share/*/{,**} rw,
|
||||
/var/** rw,
|
||||
@{run}/** rw,
|
||||
@{efi}/grub/* rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue