feat(profile): use @{int} on systemd/inhibit.
This commit is contained in:
parent
4e17001ce2
commit
6b191d9ada
38 changed files with 38 additions and 38 deletions
|
|
@ -157,7 +157,7 @@ profile libvirtd @{exec_path} flags=(attach_disconnected) {
|
|||
@{run}/libvirt/** rwk,
|
||||
@{run}/libvirtd.pid wk,
|
||||
@{run}/lock/LCK.._pts_@{int} rw,
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
@{run}/systemd/notify w,
|
||||
@{run}/utmp rk,
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ profile virtinterfaced @{exec_path} flags=(attach_disconnected) {
|
|||
@{lib}/gconv/gconv-modules rm,
|
||||
@{lib}/gconv/gconv-modules.d/{,*} r,
|
||||
|
||||
@{run}/systemd/inhibit/*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
owner @{run}/user/@{uid}/libvirt/common/system.token rwk,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/ rw,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/run/{,*} rwk,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ profile virtlogd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{run}/libvirt/common/system.token rwk,
|
||||
@{run}/libvirt/virtlogd-sock rw,
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
@{run}/virtlogd.pid rwk,
|
||||
|
||||
@{sys}/devices/system/node/ r,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ profile virtnetworkd @{exec_path} flags=(attach_disconnected) {
|
|||
owner /var/lib/libvirt/dnsmasq/*.macs* rw,
|
||||
|
||||
@{run}/libvirt/network/default.pid r,
|
||||
@{run}/systemd/inhibit/*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
@{run}/utmp rk,
|
||||
owner @{run}/libvirt/common/system.token rwk,
|
||||
owner @{run}/libvirt/network/{,**} rwk,
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ profile virtnodedevd @{exec_path} flags=(attach_disconnected) {
|
|||
/etc/libvirt/virtnodedevd.conf r,
|
||||
/etc/mdevctl.d/{,**} r,
|
||||
|
||||
@{run}/systemd/inhibit/*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
owner @{run}/libvirt/common/system.token rwk,
|
||||
owner @{run}/libvirt/nodedev/ rw,
|
||||
owner @{run}/libvirt/nodedev/driver.pid wk,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ profile virtsecretd @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{user_config_dirs}/libvirt/secrets/ rw,
|
||||
owner @{user_config_dirs}/libvirt/secrets/run/{,*} rwk,
|
||||
|
||||
@{run}/systemd/inhibit/*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
owner @{run}/user/@{uid}/libvirt/common/system.token rwk,
|
||||
owner @{run}/user/@{uid}/libvirt/secrets/ rw,
|
||||
owner @{run}/user/@{uid}/libvirt/secrets/run/{,*} rwk,
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ profile virtstoraged @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{run}/libvirt/storage/{,**} rwk,
|
||||
owner @{run}/virtstoraged.pid rwk,
|
||||
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
@{run}/systemd/inhibit/@{int}.ref rw,
|
||||
@{run}/utmp rwk,
|
||||
|
||||
@{sys}/devices/system/node/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue