Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907462 - acct-group/libvirt not installed with app-emulation/libvirt 8.9.0-r2
Summary: acct-group/libvirt not installed with app-emulation/libvirt 8.9.0-r2
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-31 06:07 UTC by Travis Osterman
Modified: 2023-06-03 22:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.