feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-07-06 23:46:06 +01:00
parent 8b2434c0a5
commit d480156e09
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
20 changed files with 64 additions and 33 deletions

View file

@ -43,6 +43,8 @@ profile networkctl @{exec_path} flags=(attach_disconnected) {
/var/lib/dbus/machine-id r,
/etc/machine-id r,
owner /var/lib/systemd/network/ r,
# To be able to read logs
@{run}/log/ r,
/{run,var}/log/journal/ r,
@ -60,8 +62,10 @@ profile networkctl @{exec_path} flags=(attach_disconnected) {
@{sys}/devices/**/net/**/uevent r,
@{PROC}/sys/kernel/random/boot_id r,
@{PROC}/1/cgroup r,
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/sys/kernel/random/boot_id r,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/stat r,

View file

@ -48,6 +48,7 @@ profile systemd-homed @{exec_path} flags=(attach_disconnected) {
/etc/systemd/homed.conf r,
/etc/skel/{,**} r,
/var/cache/systemd/home/{,**} rw,
/var/lib/systemd/home/{,**} rw,
/ r,

View file

@ -53,6 +53,8 @@ profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
@{sys}/firmware/acpi/pm_profile r,
@{sys}/firmware/dmi/entries/*/raw r,
/dev/vsock r,
include if exists <local/systemd-hostnamed>
}

View file

@ -52,6 +52,8 @@ profile systemd-networkd @{exec_path} flags=(attach_disconnected) {
/ r,
owner /var/lib/systemd/network/ r,
@{run}/systemd/network/ r,
@{run}/systemd/network/*.network r,
@{run}/systemd/notify rw,