feat(profile): small profiles update.
This commit is contained in:
parent
01a1af6c1b
commit
6b0b498244
13 changed files with 57 additions and 39 deletions
|
|
@ -14,15 +14,13 @@ profile cron-debsums @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/true rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/debsums rPx,
|
||||
@{bin}/ionice rix,
|
||||
@{bin}/logger rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
|
||||
@{bin}/ionice rix,
|
||||
|
||||
@{bin}/debsums rPx,
|
||||
@{bin}/tee rCx -> tee,
|
||||
@{bin}/true rix,
|
||||
|
||||
/etc/ r,
|
||||
/etc/default/debsums r,
|
||||
|
|
@ -31,17 +29,15 @@ profile cron-debsums @{exec_path} {
|
|||
# For shell pwd
|
||||
/ r,
|
||||
|
||||
|
||||
profile tee {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
# Needed to write to /proc/self/fd/3
|
||||
capability dac_override,
|
||||
|
||||
@{bin}/tee mr,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/3 rw,
|
||||
owner @{PROC}/@{pid}/fd/@{int} rw,
|
||||
|
||||
include if exists <local/cron-debsums_tee>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue