Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 603638

Summary: app-emulation/libvirt[-qemu]: You must add group kvm to the system first
Product: Gentoo Linux Reporter: hiwatari.seiji
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED DUPLICATE    
Severity: normal CC: markus.kaindl, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hiwatari.seiji 2016-12-24 13:47:57 UTC
Emerging libvirt client-only with the use-flags:
app-emulation/libvirt -nfs libssh -libvirtd -qemu -caps -macvtap -vepa

fails early on with the error:

 * Adding group 'qemu' to your system ...
 *  - Groupid: 77
 * Adding user 'qemu' to your system ...
 *  - Userid: 77
 *  - Shell: /sbin/nologin
 *  - Home: /dev/null
 * You must add group kvm to the system first

I guess this is because the user qemu is added to the system despite having the qemu-backend disabled with the use-flag

Merry Christmas!
Comment 1 Matthias Maier gentoo-dev 2017-01-22 15:19:35 UTC

*** This bug has been marked as a duplicate of bug 601678 ***