udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / tmpfiles.d / static-nodes-permissions.conf.in
blobdf1fe2e3d5ce2af44c4a6250aa12b6ab02c2638a
1 #  This file is part of systemd.
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU Lesser General Public License as published by
5 #  the Free Software Foundation; either version 2.1 of the License, or
6 #  (at your option) any later version.
8 # This file adds permissions on top of static-nodes.conf generated by
9 # kmod-static-nodes.service. Rules specified here should match the
10 # permissions specified for udev in 50-udev-default.rules.
12 z /dev/snd/seq      0660 - audio -
13 z /dev/snd/timer    0660 - audio -
14 z /dev/loop-control 0660 - disk  -
15 z /dev/net/tun      0666 - -     -
16 z /dev/fuse         0666 - -     -
17 z /dev/vfio/vfio    0666 - -     -
18 z /dev/kvm          {{DEV_KVM_MODE}} - kvm -
19 z /dev/vhost-net    {{DEV_KVM_MODE}} - kvm -
20 z /dev/vhost-vsock  {{DEV_KVM_MODE}} - kvm -