feat(profile): use @{sbin} for all program inside /usr/sbin.
This commit is contained in:
parent
b8f2f38c72
commit
fd17a77b17
270 changed files with 475 additions and 475 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/firewalld
|
||||
@{exec_path} = @{sbin}/firewalld
|
||||
profile firewalld @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/kmod>
|
||||
|
|
@ -34,14 +34,14 @@ profile firewalld @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/ r,
|
||||
@{bin}/alts rix,
|
||||
@{bin}/ebtables-legacy rix,
|
||||
@{bin}/ebtables-legacy-restore rix,
|
||||
@{sbin}/ebtables-legacy rix,
|
||||
@{sbin}/ebtables-legacy-restore rix,
|
||||
@{bin}/false rix,
|
||||
@{bin}/ipset rix,
|
||||
@{sbin}/ipset rix,
|
||||
@{bin}/kmod rix,
|
||||
@{bin}/modprobe rix,
|
||||
@{bin}/xtables-legacy-multi rix,
|
||||
@{bin}/xtables-nft-multi rmix,
|
||||
@{sbin}/modprobe rix,
|
||||
@{sbin}/xtables-legacy-multi rix,
|
||||
@{sbin}/xtables-nft-multi rmix,
|
||||
|
||||
/usr/local/lib/@{python_name}/dist-packages/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/nft
|
||||
@{exec_path} = @{sbin}/nft
|
||||
profile nft @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ profile ufw @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/ r,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/env r,
|
||||
@{bin}/sysctl rix,
|
||||
@{bin}/xtables-legacy-multi rix,
|
||||
@{bin}/xtables-nft-multi rix,
|
||||
@{sbin}/sysctl rix,
|
||||
@{sbin}/xtables-legacy-multi rix,
|
||||
@{sbin}/xtables-nft-multi rix,
|
||||
@{lib}/ufw/ufw-init rix,
|
||||
|
||||
/etc/default/ufw rw,
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ profile ufw-init @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/sysctl rix,
|
||||
@{bin}/xtables-legacy-multi rix,
|
||||
@{bin}/xtables-nft-multi rix,
|
||||
@{sbin}/sysctl rix,
|
||||
@{sbin}/xtables-legacy-multi rix,
|
||||
@{sbin}/xtables-nft-multi rix,
|
||||
|
||||
/etc/default/ufw r,
|
||||
/etc/ufw/* r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue