feat(profiles): general update.
This commit is contained in:
parent
1131fdf412
commit
e927145edb
10 changed files with 31 additions and 5 deletions
|
|
@ -67,8 +67,9 @@ profile systemd-logind @{exec_path} flags=(attach_disconnected,complain) {
|
|||
/etc/systemd/sleep.conf r,
|
||||
/etc/systemd/logind.conf.d/{,**} r,
|
||||
|
||||
/swapfile r,
|
||||
/boot/{,**} r,
|
||||
/swap/swapfile r,
|
||||
/swapfile r,
|
||||
|
||||
/var/lib/systemd/linger/ r,
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,16 @@ profile systemd-machine-id-setup @{exec_path} {
|
|||
|
||||
capability dac_override,
|
||||
|
||||
ptrace (read),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/machine-id rw,
|
||||
/etc/ r,
|
||||
/var/ r,
|
||||
|
||||
@{PROC}/1/environ r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
|
||||
include if exists <local/systemd-machine-id-setup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue