fix(profile): multiple minor fixes.

fix #493 #480
This commit is contained in:
Alexandre Pujol 2024-09-17 12:55:08 +01:00
parent 7858cae330
commit 516a1fd36d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 24 additions and 2 deletions

View file

@ -37,6 +37,8 @@ profile child-pager {
owner @{user_state_dirs}/ r,
owner @{user_state_dirs}/lesshs* rw,
/dev/tty@{int} rw,
include if exists <local/child-pager>
}

View file

@ -30,7 +30,7 @@ profile archlinux-keyring-wkd-sync @{exec_path} {
/etc/pacman.conf r,
/etc/pacman.d/*-mirrorlist r,
/etc/pacman.d/gnupg/ rw,
/etc/pacman.d/gnupg/** rwk -> /etc/pacman.d/gnupg/**,
/etc/pacman.d/gnupg/** rwlk -> /etc/pacman.d/gnupg/**,
/etc/pacman.d/mirrorlist r,
owner @{PROC}/@{pid}/fd/ r,

View file

@ -12,6 +12,8 @@ profile systemd-generator-user-environment @{exec_path} {
include <abstractions/common/systemd>
include <abstractions/nameservice-strict>
capability net_admin,
@{exec_path} mr,
@{sh_path} rix,

View file

@ -49,6 +49,7 @@ profile systemd-journald @{exec_path} {
@{run}/udev/data/+acpi:* r,
@{run}/udev/data/+bluetooth:* r,
@{run}/udev/data/+hid:* r, # for HID-Compliant Keyboard
@{run}/udev/data/+ieee80211:* r,
@{run}/udev/data/+input:input@{int} r, # for mouse, keyboard, touchpad
@{run}/udev/data/+mdio_bus:* r,
@{run}/udev/data/+pci:* r,