[Bug 1092715] Re: udevadm trigger --action=change not working in quantal and raring
Serge Hallyn
1092715 at bugs.launchpad.net
Wed Jan 9 22:45:42 UTC 2013
The cause of the problem is simply the udev-acl call in 70-udev-
acl.rules. Since this is a higher # rule than 40-qemu-kvm.rules, it
gets run after.
The problem can be solved by:
1. moving 40-qemu-kvm.rules to 72-qemu-kvm.rules
2. making qemu-kvm depend on acl
3. appending RUN+="/usr/bin/setfacl -m g::rw /dev/kvm" to 72-qemu-kvm.rules.
** No longer affects: linux (Ubuntu)
** Package changed: udev (Ubuntu) => qemu-kvm (Ubuntu)
** Also affects: qemu-kvm (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: qemu-kvm (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: qemu-kvm (Ubuntu Raring)
Importance: High
Status: Confirmed
** Changed in: qemu-kvm (Ubuntu Quantal)
Status: New => Confirmed
** Changed in: qemu-kvm (Ubuntu Precise)
Status: New => Confirmed
** Changed in: qemu-kvm (Ubuntu Quantal)
Importance: Undecided => High
** Changed in: qemu-kvm (Ubuntu Precise)
Importance: Undecided => High
--
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/1092715
Title:
udevadm trigger --action=change not working in quantal and raring
Status in “qemu-kvm” package in Ubuntu:
Confirmed
Status in “qemu-kvm” source package in Precise:
Confirmed
Status in “qemu-kvm” source package in Quantal:
Confirmed
Status in “qemu-kvm” source package in Raring:
Confirmed
Bug description:
For bug 1057024, we have qemu-kvm postinst call udevadm trigger
--action=change. This is to make udev recalculate permissions for
/dev/kvm based on the new /lib/udev/rules.d/40-qemu-kvm.rules file.
In precise, this causes /dev/kvm's acls to be correctly set so that
group has rw permissions.
In quantal, with the exact same rules file, it does not. After a
reboot, permissions are set correctly. But manually running udevadm
trigger --subsystem=misc --action=change (or variations of that) does
not change the group acl. It changes the group ownership, and part of
the acl, but not the group acl.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1092715/+subscriptions
More information about the foundations-bugs
mailing list