On 14.03.2013 22:15, Ansgar Burchardt wrote: > Hi, > > Serge Hallyn <serge.hal...@ubuntu.com> writes: >> qemu-system-common installs a udev rules file which sets /dev/kvm group >> to 'kvm'. Its postinst then adds a kvm group. However udev reads the >> new rules file as soon as it sees it, sees that group kvm doesn't >> exist, and ignores that part of the rule (until reboot, udev restart, >> or the rule is re-added, of course). > > Couldn't postint tell udev explicitly to reload rules after the kvm > group was added? The init script has a reload action which calls > udevadm control --reload-rules which might do the right thing.
I'd probably just do an explicit chown/chmod /dev/kvm (given the device exists) in postinst. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature