Revert "Revert "tmpfiles.d: adjust /dev/vfio/vfio access mode""
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Aug 2023 16:25:42 +0000 (01:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 9 Aug 2023 02:27:39 +0000 (11:27 +0900)
commitca15b59f1f37cad54e82edb3042e8a035fc6ab18
treebb19046380b3c7ccebc9afc0b2b7f8738d77a95f
parent685e0dd1924cce44327040b08a8980af2192bf59
Revert "Revert "tmpfiles.d: adjust /dev/vfio/vfio access mode""

This reverts commit 33b91308c26ca5d512e43b6b32d596a2c9237d04.

The commit b42482af904ae0b94a6e4501ec595448f0ba1c06 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 https://github.com/systemd/systemd/pull/28681#issuecomment-1666949888.
tmpfiles.d/static-nodes-permissions.conf.in