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

Bug 907462

Summary: acct-group/libvirt not installed with app-emulation/libvirt 8.9.0-r2
Product: Gentoo Linux Reporter: Travis Osterman <travis>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=835950
Whiteboard:
Package list:
Runtime testing required: ---

Description Travis Osterman 2023-05-31 06:07:32 UTC
emerge --info
https://bpa.st/WE5S4

I am installing virt-manager and qemu on a fresh install and needed to emerge acct-group/libvirt separately as it was not identified as a dependency.

Steps to recreate: 
1. new headless amd64 openrc multilib install on 17.1 profile
2. emerge -uav app-emulation/qemu virt-manager dev-libs/libisoburn bridge-utils
3. usermod -aG kvm <user>
4. usermod -aG libvirt <user> 
usermod: group 'libvirt' does not exist
5. /etc/init.d/libvirtd start
6. virsh list
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory

Steps to fix
1. emerge -av acct-group/libvirt
2. usermod -aG libvirt <user>
3. /etc/init.d/libvirtd restart
4. virsh list
 Id   Name   State
--------------------
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-31 06:11:12 UTC
You need USE=policykit for it to pull it in.