summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-07-30 15:21:31 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-30 17:58:01 +0200
commita3d610998ad3b4c88224fe89a048a84dbceb652b (patch)
treed6768a0b7568dfda1f104ac22fd529eb814e2cb3 /tmpfiles.d
parentMerge pull request #28428 from ldv-alt/ERRNO_IS (diff)
downloadsystemd-a3d610998ad3b4c88224fe89a048a84dbceb652b.tar.xz
systemd-a3d610998ad3b4c88224fe89a048a84dbceb652b.zip
tmpfiles.d: adjust /dev/vfio/vfio access mode
kmod-static-nodes.service sets the mode to 0600, but we want it to be 0666 as specified in 50-udev-default.rules. Resolves: #28588
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/static-nodes-permissions.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmpfiles.d/static-nodes-permissions.conf.in b/tmpfiles.d/static-nodes-permissions.conf.in
index f77312a71c..df1fe2e3d5 100644
--- a/tmpfiles.d/static-nodes-permissions.conf.in
+++ b/tmpfiles.d/static-nodes-permissions.conf.in
@@ -14,6 +14,7 @@ z /dev/snd/timer 0660 - audio -
z /dev/loop-control 0660 - disk -
z /dev/net/tun 0666 - - -
z /dev/fuse 0666 - - -
+z /dev/vfio/vfio 0666 - - -
z /dev/kvm {{DEV_KVM_MODE}} - kvm -
z /dev/vhost-net {{DEV_KVM_MODE}} - kvm -
z /dev/vhost-vsock {{DEV_KVM_MODE}} - kvm -