Archlinux has no sbin.
sbin -> {s,}bin for Archlinux support.
Purposelly not replaced on Debian only programs
This commit is contained in:
parent
f571269a2d
commit
79904cb616
158 changed files with 254 additions and 253 deletions
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}sbin/logrotate
|
||||
@{exec_path} = /{usr/,}{s,}bin/logrotate
|
||||
profile logrotate @{exec_path} flags=(attach_disconnected, complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -26,18 +26,18 @@ profile logrotate @{exec_path} flags=(attach_disconnected, complain) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}sbin/ r,
|
||||
/{usr/,}{s,}bin/ r,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/ls rix,
|
||||
/{usr/,}bin/gzip rix,
|
||||
/{usr/,}sbin/invoke-rc.d rix,
|
||||
/{usr/,}{s,}bin/invoke-rc.d rix,
|
||||
/{usr/,}lib/rsyslog/rsyslog-rotate rix,
|
||||
|
||||
# no new privs
|
||||
#/{usr/,}bin/systemctl rCx -> systemctl,
|
||||
/{usr/,}bin/systemctl rix,
|
||||
/{usr/,}sbin/runlevel rix,
|
||||
/{usr/,}{s,}bin/runlevel rix,
|
||||
include <abstractions/wutmp>
|
||||
ptrace (read),
|
||||
capability sys_ptrace,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue