Quoting Michael Biebl (bi...@debian.org): > 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.
That is not sufficient. If something else does udevadm trigger, udev will re-label /dev/kvm with the old group perms. -serge -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130314213030.GA6605@sergelap