refactor(profiles): use @{bin} and @{lib} in profiles (4)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:23:22 +01:00
parent 27daa7c9bb
commit 43b0f09b65
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
173 changed files with 909 additions and 916 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/fail2ban-server
@{exec_path} = @{bin}/fail2ban-server
profile fail2ban-server @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
@ -20,12 +20,12 @@ profile fail2ban-server @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}{s,}bin/xtables-nft-multi rix,
/{usr/,}{s,}bin/iptables rix,
@{bin}/{,ba,da}sh rix,
@{bin}/xtables-nft-multi rix,
@{bin}/iptables rix,
/{usr/,}bin/ r,
/{usr/,}bin/python3.[0-9]* r,
@{bin}/ r,
@{bin}/python3.[0-9]* r,
/etc/fail2ban/{,**} r,