feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-31 16:52:35 +01:00
parent 1131fdf412
commit e927145edb
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 31 additions and 5 deletions

View file

@ -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,

View file

@ -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>