refactor(profiles): use @{bin} and @{lib} in profiles (7)
This commit is contained in:
parent
7c2c806ffa
commit
2b2c42d23c
155 changed files with 938 additions and 938 deletions
|
|
@ -6,24 +6,24 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/update-dlocatedb
|
||||
@{exec_path} = @{bin}/update-dlocatedb
|
||||
profile update-dlocatedb @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mr,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/uname rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
/{usr/,}bin/sort rix,
|
||||
/{usr/,}bin/uniq rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/uname rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/sort rix,
|
||||
@{bin}/uniq rix,
|
||||
|
||||
/{usr/,}bin/ionice rix,
|
||||
@{bin}/ionice rix,
|
||||
|
||||
/usr/share/dlocate/updatedb rCx -> updatedb,
|
||||
/{usr/,}bin/dpkg rPx -> child-dpkg,
|
||||
@{bin}/dpkg rPx -> child-dpkg,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/2 w,
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ profile update-dlocatedb @{exec_path} {
|
|||
include <abstractions/perl>
|
||||
|
||||
/usr/share/dlocate/updatedb r,
|
||||
/{usr/,}bin/perl r,
|
||||
@{bin}/perl r,
|
||||
|
||||
/etc/default/dlocate r,
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ profile update-dlocatedb @{exec_path} {
|
|||
/var/lib/dpkg/info/*.list r,
|
||||
|
||||
# For compression
|
||||
/{usr/,}bin/gzip rix,
|
||||
@{bin}/gzip rix,
|
||||
/var/lib/dlocate/dlocatedb.gz rw,
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue