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

This commit is contained in:
Alexandre Pujol 2023-07-09 14:59:53 +01:00
parent 7c2c806ffa
commit 2b2c42d23c
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
155 changed files with 938 additions and 938 deletions

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}{s,}bin/smartd
@{exec_path} = @{bin}/smartd
profile smartd @{exec_path} {
include <abstractions/base>
include <abstractions/disks-read>
@ -25,12 +25,12 @@ profile smartd @{exec_path} {
deny capability net_admin,
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/cat rix,
/{usr/,}bin/hostname rix,
/{usr/,}bin/mail rix,
/{usr/,}bin/mktemp rix,
/{usr/,}bin/run-parts rix,
@{bin}/{,ba,da}sh rix,
@{bin}/cat rix,
@{bin}/hostname rix,
@{bin}/mail rix,
@{bin}/mktemp rix,
@{bin}/run-parts rix,
/usr/share/smartmontools/{smartd-runner,smartd_warning.sh} rix,
/etc/smartmontools/run.d/* rix,