feat(profile): small improvment on systemd profiles.

This commit is contained in:
Alexandre Pujol 2024-05-18 13:09:25 +01:00
parent 17bfd0e869
commit 5e6af16580
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 7 additions and 12 deletions

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = @{lib}/systemd/system-sleep/grub2.sleep
profile systemd-sleep-grub @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@ -18,8 +19,6 @@ profile systemd-sleep-grub @{exec_path} {
/etc/sysconfig/bootloader r,
/var/lib/nscd/passwd r,
@{PROC}/@{pid}/maps r,
/dev/tty rw,