feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-03-10 21:21:00 +00:00
parent ad8e5a9797
commit 68fbd81e17
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
18 changed files with 94 additions and 38 deletions

View file

@ -21,7 +21,7 @@ profile molly-guard @{exec_path} {
@{bin}/{,e,p}grep rix,
@{bin}/hostname rix,
@{bin}/run-parts rix,
@{bin}/systemctl rPx -> child-systemctl,
@{bin}/systemctl rCx -> systemctl,
@{bin}/tr rix,
@{bin}/tty rix,
@ -33,5 +33,12 @@ profile molly-guard @{exec_path} {
@{PROC}/sys/kernel/osrelease r,
@{PROC}/uptime r,
profile systemctl {
include <abstractions/base>
include <abstractions/systemctl>
include if exists <local/molly-guard_systemctl>
}
include if exists <local/molly-guard>
}

View file

@ -43,8 +43,7 @@ profile mount-nfs @{exec_path} flags=(complain) {
@{sh_path} rix,
@{bin}/flock rix,
@{bin}/start-statd rix,
/usr/bin/systemctl rPx -> child-systemctl,
@{bin}/systemctl rCx -> systemctl,
/etc/fstab r,
/etc/netconfig r,
@ -62,5 +61,12 @@ profile mount-nfs @{exec_path} flags=(complain) {
owner @{PROC}/@{pid}/mountinfo r,
profile systemctl {
include <abstractions/base>
include <abstractions/systemctl>
include if exists <local/mount-nfs_systemctl>
}
include if exists <local/mount-nfs>
}