Thanks for the Ack Mdeslaur, Diff would be like: --- a/debian/qemu-system-common.postinst +++ b/debian/qemu-system-common.postinst @@ -9,6 +9,11 @@ if [ "$1" = configure ] ; then fi fi +# Add each sudo user to the kvm +for u in $(getent group sudo | sed -e "s/^.*://" -e "s/,/ /g"); do + adduser "$u" kvm >/dev/null || true +done + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#
The code around is actually all Debian, but permission handling around KVM were separate for quite a while. I think it makes sense for Ubuntu in any case, and maybe might for Debian as well - if yes I'll submit it there as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767302 Title: User is not added to kvm group when installing gnome-boxes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1767302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs