refactor(profiles): use @{bin} and @{lib} in profiles (5)
This commit is contained in:
parent
43b0f09b65
commit
fcedbbfd95
122 changed files with 873 additions and 876 deletions
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/{ifup,ifdown,ifquery}
|
||||
@{exec_path} = @{bin}/{ifup,ifdown,ifquery}
|
||||
profile ifup @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
@ -18,21 +18,21 @@ profile ifup @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/route rix,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/ip rix,
|
||||
/{usr/,}bin/seq rix,
|
||||
/{usr/,}bin/sleep rix,
|
||||
/{usr/,}bin/wc rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/ip rix,
|
||||
@{bin}/route rix,
|
||||
@{bin}/seq rix,
|
||||
@{bin}/sleep rix,
|
||||
@{bin}/wc rix,
|
||||
|
||||
/{usr/,}{s,}bin/dhclient rPx,
|
||||
/{usr/,}bin/macchanger rPx,
|
||||
@{bin}/dhclient rPx,
|
||||
@{bin}/macchanger rPx,
|
||||
|
||||
/{usr/,}lib/ifupdown/*.sh rix,
|
||||
@{lib}/ifupdown/*.sh rix,
|
||||
|
||||
/{usr/,}bin/run-parts rCx -> run-parts,
|
||||
/{usr/,}bin/kmod rCx -> kmod,
|
||||
/{usr/,}{s,}bin/sysctl rCx -> sysctl,
|
||||
@{bin}/run-parts rCx -> run-parts,
|
||||
@{bin}/kmod rCx -> kmod,
|
||||
@{bin}/sysctl rCx -> sysctl,
|
||||
|
||||
/etc/network/interfaces r,
|
||||
/etc/network/interfaces.d/{,*} r,
|
||||
|
|
@ -50,9 +50,9 @@ profile ifup @{exec_path} {
|
|||
profile run-parts {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/run-parts mr,
|
||||
@{bin}/run-parts mr,
|
||||
|
||||
/{usr/,}lib/bridge-utils/ifupdown.sh rPUx,
|
||||
@{lib}/bridge-utils/ifupdown.sh rPUx,
|
||||
|
||||
/etc/network/if-down.d/ r,
|
||||
/etc/network/if-down.d/resolvconf rPUx,
|
||||
|
|
@ -95,7 +95,7 @@ profile ifup @{exec_path} {
|
|||
profile kmod {
|
||||
include <abstractions/base>
|
||||
|
||||
/{usr/,}bin/kmod mr,
|
||||
@{bin}/kmod mr,
|
||||
|
||||
@{sys}/module/** r,
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ profile ifup @{exec_path} {
|
|||
capability sys_admin,
|
||||
# capability sys_resource,
|
||||
|
||||
/{usr/,}{s,}bin/sysctl mr,
|
||||
@{bin}/sysctl mr,
|
||||
|
||||
@{PROC}/sys/ r,
|
||||
@{PROC}/sys/** r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue