feat(profile): minor apt improvement.

This commit is contained in:
Alexandre Pujol 2025-07-18 00:13:50 +02:00 committed by Alex
parent 72b136578d
commit 38b165ff31
3 changed files with 3 additions and 0 deletions

View file

@ -64,6 +64,7 @@ profile apt @{exec_path} flags=(attach_disconnected) {
@{sh_path} rix, @{sh_path} rix,
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/cat rix,
@{bin}/echo rix, @{bin}/echo rix,
@{bin}/gdbus rix, @{bin}/gdbus rix,
@{bin}/id rix, @{bin}/id rix,

View file

@ -18,6 +18,7 @@ profile apt-methods-sqv @{exec_path} {
capability setuid, capability setuid,
signal receive set=int peer=apt, signal receive set=int peer=apt,
signal receive set=int peer=packagekitd,
@{exec_path} mr, @{exec_path} mr,

View file

@ -65,6 +65,7 @@ profile dpkg-scripts @{exec_path} {
@{lib}/@{python_name}/**/__pycache__/ w, @{lib}/@{python_name}/**/__pycache__/ w,
@{lib}/@{python_name}/**/__pycache__/**.pyc w, @{lib}/@{python_name}/**/__pycache__/**.pyc w,
@{lib}/@{python_name}/**/__pycache__/**.pyc.@{u64} w, @{lib}/@{python_name}/**/__pycache__/**.pyc.@{u64} w,
@{lib}/modules/*/.fresh-install w,
/etc/ r, /etc/ r,
/etc/** rw, /etc/** rw,