feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-01-21 11:56:02 +00:00
parent 05b47adb13
commit 42fc4622ed
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
42 changed files with 154 additions and 94 deletions

View file

@ -10,6 +10,10 @@ include <tunables/global>
profile busctl @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/systemd-common>
capability net_admin,
capability sys_ptrace,
ptrace (read),

View file

@ -15,6 +15,8 @@ profile systemd-generator-environment-flatpak @{exec_path} {
@{bin}/flatpak rix,
/usr/{local/,}share/gvfs/remote-volume-monitors/{,*} r,
/dev/tty rw,
include if exists <local/systemd-generator-environment-flatpak>

View file

@ -23,6 +23,7 @@ profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
@{etc_rw}/.#hostname* rw,
@{etc_rw}/hostname rw,
/etc/.#machine-info@{rand6} rw,
/etc/machine-id r,
/etc/machine-info rw,
@{run}/systemd/default-hostname rw,

View file

@ -55,6 +55,7 @@ profile systemd-journald @{exec_path} {
@{run}/udev/data/+usb:* r,
@{run}/udev/data/+virtio:* r,
@{run}/udev/data/b254:@{int} r, # for /dev/zram*
@{run}/udev/data/b259:@{int} r,
@{run}/udev/data/c1:@{int} r, # For RAM disk
@{run}/udev/data/c4:@{int} r, # For TTY devices
@{run}/udev/data/c10:@{int} r, # For non-serial mice, misc features

View file

@ -34,6 +34,7 @@ profile systemd-vconsole-setup @{exec_path} {
@{sys}/module/vt/parameters/default_utf8 w,
/dev/console k,
/dev/tty@{int} rwk,
include if exists <local/systemd-vconsole-setup>