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

Bug 253961

Summary: app-emulation/libvirt should depend on iptables
Product: Gentoo Linux Reporter: Maximilian Gaß <mxey>
Component: New packagesAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maximilian Gaß 2009-01-06 10:38:45 UTC
libvirt requires iptables to set up its networking.

Reproducible: Always

Steps to Reproduce:
1. emerge libvirt
2. /etc/init.d/libvirtd start
3. virsh net-create $your_network

Actual Results:  
virsh # net-create /etc/libvirt/networks/foo.xml 
libvir: QEMU error : internal error failed to add iptables rule to allow DHCP requests from 'foo' : Invalid argument
error: Failed to create network from /etc/libvirt/networks/foo.xml

Expected Results:  
Network foo created from /etc/libvirt/networks/foo.xml
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-05-27 22:49:37 UTC
This has been fixed. use the network USE flag in newer versions.