summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-10-31 08:41:53 -0700
committerTom Stellard <tstellar@redhat.com>2017-11-08 08:17:49 -0800
commitb8fd3d82205f632ce001fade74fed287e1564a1a (patch)
treedceecf3d045b1f02e245595a91f60663e357ddd8
parent0ed782021b3051043b9eefdc5c5cbd239c7f7ffe (diff)
downloadsystemd-b8fd3d82205f632ce001fade74fed287e1564a1a.tar.gz
udev-rules: Permission changes for /dev/kvm
- Remove uaccess tag from /dev/kvm. - Change the default mode for /dev/kvm to 0666.
-rw-r--r--meson_options.txt2
-rw-r--r--src/login/70-uaccess.rules3
2 files changed, 1 insertions, 4 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 3de72acf95..50f24df1b3 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 50dcd2e275..9e9dbae0e0 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"