feat(profile): improve integration with kde

see #496
This commit is contained in:
Alexandre Pujol 2024-09-18 16:59:44 +01:00
parent 6fd05f26af
commit 02d8aaee7f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
25 changed files with 108 additions and 17 deletions

View file

@ -20,7 +20,7 @@ profile virtnetworkd @{exec_path} flags=(attach_disconnected) {
@{bin}/dnsmasq rPx,
/etc/libvirt/libvirt.conf r,
/etc/libvirt/*.conf r,
owner /var/lib/libvirt/dnsmasq/*.macs* rw,

View file

@ -29,8 +29,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
/usr/share/hwdata/*.ids r,
/usr/share/pci.ids r,
/etc/libvirt/libvirt.conf r,
/etc/libvirt/virtnodedevd.conf r,
/etc/libvirt/*.conf r,
/etc/mdevctl.d/{,**} r,
@{run}/systemd/inhibit/@{int}.ref rw,
@ -64,6 +63,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
@{run}/udev/data/c81:@{int} r, # For video4linux
@{run}/udev/data/c89:@{int} r, # For I2C bus interface
@{run}/udev/data/c90:@{int} r, # For RAM, ROM, Flash
@{run}/udev/data/c99:@{int} r, # For raw parallel ports /dev/parport*
@{run}/udev/data/c116:@{int} r, # For ALSA
@{run}/udev/data/c202:@{int} r, # CPU model-specific registers
@{run}/udev/data/c203:@{int} r, # CPU CPUID information
@ -90,6 +90,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/stat r,
owner @{PROC}/mtrr w,
owner @{PROC}/uptime r,
include if exists <local/virtnodedevd>
}

View file

@ -25,8 +25,7 @@ profile virtstoraged @{exec_path} flags=(attach_disconnected) {
@{bin}/qemu-system* rUx, # TODO: Integration with virt-aa-helper
@{bin}/qemu-img rUx, # TODO: Integration with virt-aa-helper
/etc/libvirt/**/ r,
/etc/libvirt/libvirt.conf r,
/etc/libvirt/{,**} r,
# For disk images
@{MOUNTS}/ r,