Skip to content

Commit 507c4c7

Browse files
yuwatakeszybz
authored andcommitted
Revert "Revert "tmpfiles.d: adjust /dev/vfio/vfio access mode""
This reverts commit 33b9130. The commit b42482a dropped '--exclude-prefix=/dev' from systemd-tmpfiles-setup.service. So, the possibly later invocation of the service changes the permission set by udevd. As commmented in the head of this file, settings should be consistent with udev rules. Only missing entry here is vfio. Let's re-add the entry for the device. Addresses systemd/systemd#28681 (comment). (cherry picked from commit ca15b59)
1 parent 6ed2785 commit 507c4c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tmpfiles.d/static-nodes-permissions.conf.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ z /dev/snd/timer 0660 - audio -
1414
z /dev/loop-control 0660 - disk -
1515
z /dev/net/tun 0666 - - -
1616
z /dev/fuse 0666 - - -
17+
z /dev/vfio/vfio 0666 - - -
1718
z /dev/kvm {{DEV_KVM_MODE}} - kvm -
1819
z /dev/vhost-net {{DEV_KVM_MODE}} - kvm -
1920
z /dev/vhost-vsock {{DEV_KVM_MODE}} - kvm -

0 commit comments

Comments
 (0)