I was working on automatically adding groups to user “user” for better usability as we talked about a while ago.
Debian maintainer scripts are located in /var/lib/dpkg/info/… I saw code for adding the group “kvm” in /var/lib/dpkg/info/qemu-system-common.postinst. But no code to add the group “libvirt”. Only code to delete group “libvirt” in /var/lib/dpkg/info/libvirt-bin.postrm. It also deletes group “libvirt-qemu”. So I am wondering wheter the last two groups “libvirt” and “libvirt-qemu” have been deprecated? If that was the case, there would be no need re-create them in usability-misc.postinst.