refractor: use @{python_path} in all profiles.

This commit is contained in:
Alexandre Pujol 2025-02-17 21:28:40 +01:00
parent 5870e1ee40
commit af85db9148
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
77 changed files with 92 additions and 92 deletions

View file

@ -17,7 +17,7 @@ profile firewall-applet @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
@{bin}/ r,
@{bin}/python3.@{int} r,
@{python_path} r,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/mounts r,

View file

@ -42,7 +42,7 @@ profile firewalld @{exec_path} flags=(attach_disconnected) {
@{bin}/xtables-legacy-multi rix,
@{bin}/xtables-nft-multi rix,
/usr/local/lib/python3.@{int}/dist-packages/ r,
/usr/local/lib/@{python_name}/dist-packages/ r,
/usr/share/iproute2/{,**} r,
/usr/share/libalternatives/{,**} r,

View file

@ -32,7 +32,7 @@ profile ufw @{exec_path} flags=(attach_disconnected) {
@{bin}/ r,
@{bin}/cat ix,
@{bin}/env r,
@{bin}/python3.@{int} ix,
@{python_path} ix,
@{bin}/sysctl ix,
@{bin}/xtables-legacy-multi ix,
@{bin}/xtables-nft-multi ix,