New @{uuid} variable.

This commit is contained in:
Alexandre Pujol 2022-02-22 13:14:46 +00:00
parent 773741c85e
commit 0ee2e4f7ad
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
24 changed files with 47 additions and 44 deletions

View file

@ -67,7 +67,7 @@ profile lightdm-gtk-greeter @{exec_path} {
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
@{sys}/firmware/efi/efivars/SecureBoot-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* r,
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
# file_inherit
/var/log/lightdm/seat[0-9]*-greeter.log w,

View file

@ -63,7 +63,7 @@ profile logrotate @{exec_path} flags=(attach_disconnected, complain) {
# logrotate[]: error: could not change directory to '.'
/ r,
@{sys}/firmware/efi/efivars/SecureBoot-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* r,
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
profile systemctl flags=(attach_disconnected, complain) {
include <abstractions/base>