feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-05-01 14:22:42 +01:00
parent 4d9ea026c7
commit db87c56f37
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
21 changed files with 72 additions and 14 deletions

View file

@ -20,6 +20,7 @@ profile systemd-generator-gpt-auto @{exec_path} flags=(attach_disconnected) {
/boot/ r,
/efi/ r,
/etc/fstab r,
/usr/ r,
@{run}/systemd/generator.late/**.{,auto}mount w,
@{run}/systemd/generator.late/local-fs.target.wants/ w,

View file

@ -32,6 +32,7 @@ profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
/etc/.#machine-info@{rand6} rw,
/etc/machine-id r,
/etc/machine-info rw,
/etc/os-release r,
@{run}/systemd/default-hostname rw,
@{run}/systemd/notify rw,

View file

@ -17,6 +17,8 @@ profile systemd-shutdown @{exec_path} {
capability sys_ptrace,
capability sys_resource,
mount options=(rw rprivate) -> /,
signal (send) set=(stop, cont, term, kill),
signal (receive) set=(rtmin+23) peer=plymouthd,
@ -24,6 +26,7 @@ profile systemd-shutdown @{exec_path} {
@{PROC}/ r,
@{PROC}/@{pid}/fd/ r,
@{PROC}/@{pid}/fdinfo/@{int} r,
@{PROC}/@{pids}/cmdline r,
owner @{PROC}/@{pid}/comm r,
owner @{PROC}/sys/kernel/core_pattern w,