Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358197 - app-emulation/libvirtd can't create virtual network if iproute2 is not installed
Summary: app-emulation/libvirtd can't create virtual network if iproute2 is not installed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 10:19 UTC by k953772
Modified: 2011-03-16 09:51 UTC (History)
1 user (show)

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 k953772 2011-03-10 10:19:14 UTC
libvirtd can't create virtual network if sys-apps/iproute2 is not installed.
When libvirtd create virtual network interface (virbr0), it called /sbin/ip command. But sys-apps/iproute2 is not mandatory for app-emulation/libvirt.

Maybe it is a mistake in ebuild:
    virt-network? ( net-dns/dnsmasq
        >=net-firewall/iptables-1.4.10
        net-firewall/ebtables
        sys-apps/iproute2 )"
All this packages are mandatory for libvirt virtual networks.

Reproducible: Always

Steps to Reproduce:
1.install app-emulation/libvirt (if sys-apps/iproute2 is not installed)
2. /etc/init.d/libvirtd start
3. virsh net-start default
at this step libvirt fails
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2011-03-16 09:51:10 UTC
"net-start default" is the exactly network that the USE=virt-network setting is for. Enable the USE flag if you want to use that type of setup.