fix(profile): some fix on the dpkg-scipts profiles.

This commit is contained in:
Alexandre Pujol 2025-05-18 23:10:48 +02:00
parent 760eb91ac6
commit c64901353e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 16 additions and 9 deletions

View file

@ -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,