feat(profile): improve integration with ubuntu.

This commit is contained in:
Alexandre Pujol 2025-08-15 10:59:20 +02:00
parent 112d54907e
commit 9c9af1d821
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 11 additions and 2 deletions

View file

@ -29,6 +29,7 @@ profile gpg @{exec_path} {
@{lib}/{,gnupg/}scdaemon rPx,
/usr/share/terminfo/** r,
/usr/share/keyrings/** rw, #aa:only apt
/usr/share/pacman/keyrings/** r, #aa:only pacman
/etc/inputrc r,

View file

@ -27,7 +27,7 @@ profile grub-mkconfig @{exec_path} flags=(attach_disconnected) {
@{bin}/cut rix,
@{bin}/date rix,
@{bin}/dirname rix,
@{sbin}/dmsetup rPUx,
@{sbin}/dmsetup rPx,
@{bin}/dpkg rPx,
@{bin}/find rix,
@{bin}/findmnt rPx,

View file

@ -36,6 +36,8 @@ profile grub-probe @{exec_path} {
/dev/**/ r,
/dev/mapper/control w,
deny mqueue (read, getattr) type=posix /,
include if exists <local/grub-probe>
}

View file

@ -71,6 +71,7 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
@{bin}/kmod rPx,
@{bin}/netconfig rPUx,
@{sbin}/resolvconf rPx,
@{bin}/resolvectl rPx,
@{bin}/systemctl rCx -> systemctl,
@{lib}/{,NetworkManager/}nm-daemon-helper rPx,
@{lib}/{,NetworkManager/}nm-dhcp-helper rPx,