[Bug 1057024] Re: kvm kernel module always loaded, without setting /dev/kvm permissions
Dmitry Teselkin
1057024 at bugs.launchpad.net
Tue Jan 26 09:14:36 UTC 2016
It looks like the bug still exists in 'trusty', qemu-kvm 2.0, however,
it's not clear why.
Aftre installation /dev/kvm have wrong permissions:
---
crw------- 1 root root 10, 232 Jan 20 02:09 /dev/kvm
---
Reinstalling qemu-system-common fixes the problem.
I did a simple research, and here is what I've found:
* The code to fix acl still exists, but was moved to qemu-system-common package.
* There is no /lib/udev/rules.d/70-udev-acl.rules, it looks like ACLs for /dev/kvm are set by /lib/udev/rules.d/70-uaccess.rules, there is a string:
---
SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess"
---
* A builtin function 'builtin_uaccess' [1] is called to set permissions according to the following string from /lib/udev/rules.d/73-seat-late.rules:
---
TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
---
[1] https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-uaccess.c
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1057024
Title:
kvm kernel module always loaded, without setting /dev/kvm permissions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1057024/+subscriptions
More information about the Ubuntu-server-bugs
mailing list