From: Tom Stellard Date: Tue, 31 Oct 2017 15:41:53 +0000 (-0700) Subject: udev-rules: Permission changes for /dev/kvm X-Git-Tag: v236~254^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8fd3d82205f632ce001fade74fed287e1564a1a;p=thirdparty%2Fsystemd.git udev-rules: Permission changes for /dev/kvm - Remove uaccess tag from /dev/kvm. - Change the default mode for /dev/kvm to 0666. --- diff --git a/meson_options.txt b/meson_options.txt index 3de72acf950..50f24df1b35 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -144,7 +144,7 @@ option('nobody-user', type : 'string', option('nobody-group', type : 'string', description : 'The name of the nobody group (the one with GID 65534)', value : 'nobody') -option('dev-kvm-mode', type : 'string', value : '0660', +option('dev-kvm-mode', type : 'string', value : '0666', description : '/dev/kvm access mode') option('default-kill-user-processes', type : 'boolean', description : 'the default value for KillUserProcesses= setting') diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules index 50dcd2e2758..9e9dbae0e06 100644 --- a/src/login/70-uaccess.rules +++ b/src/login/70-uaccess.rules @@ -45,9 +45,6 @@ SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", TAG+="uaccess" # DRI video devices SUBSYSTEM=="drm", KERNEL=="card*|renderD*", TAG+="uaccess" -# KVM -SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess" - # smart-card readers ENV{ID_SMARTCARD_READER}=="?*", TAG+="uaccess"