* Serge Hallyn <serge.hal...@ubuntu.com>, 2013-03-14, 14:58:
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).

To fix this the kvm group should be created during preinst before the udev rules file is unpacked. This requires adding adduser to the Pre-Depends. vorlon warned me that any new pre-depends should be discussed here first, so I'm emailing to ask - is this ok? Is there a better way?

IIRC, src:sane-backends uses setfacl(1) instead of changing the group. Not sure if that counts as "better".

--
Jakub Wilk


--
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/20130314212823.ga4...@jwilk.net

Reply via email to