[Bug 1103022] Re: 70-udev-acl.rules needs to put g+rw on /dev/kvm
Martin Pitt
martin.pitt at ubuntu.com
Tue Jan 29 04:45:06 UTC 2013
As discussed on IRC: As this is an one-time upgrade fix for cleaning up
after the currently wrong /lib/udev/rules.d/40-qemu-system.rules, I'd
much rather like to see this as an one-time action in postinst (which is
the standard way of doing such operations on upgrade) than this patch,
which would confuse matters even more and also potentially breaks custom
rules which change the permissions of /dev/kvm.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1103022
Title:
70-udev-acl.rules needs to put g+rw on /dev/kvm
Status in “udev” package in Ubuntu:
Confirmed
Bug description:
When qemu-system gets installed, the newly installed udev rule causes
/dev/kvm to gets chgrpd to kvm and its mode to get set to g+rw.
However, because /dev/kvm was tagged with ACL previously, there is a
group:: acl on /dev/kvm which does not get removed. Therefore
/dev/kvm is g+rw in the file mode, but the acl denies group read/write
access. After a reboot all is fine.
I have not seen a clean way to have udev remove that acl, and there is
no reason for it. So please update the 70-udev-acl.rules file to set
MODE=0660 on /dev/kvm
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1103022/+subscriptions
More information about the foundations-bugs
mailing list