A regression in dnsmasq is causing it to fail if dhcpd is running on the same box.<br />
<br />
Error creating virtual network: internal error Child process (/usr/sbin/dnsmasq --strict-order --pid-file=/var/run/libvirt/network/NAT.pid --conf-file= --except-interface lo --bind-interfaces --listen-address 172.16.16.1 --dhcp-range 172.16.16.128,172.16.16.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/NAT.leases --dhcp-lease-max=127 --dhcp-no-override --dhcp-hostsfile=/var/lib/libvirt/dnsmasq/NAT.hostsfile --addn-hosts=/var/lib/libvirt/dnsmasq/NAT.addnhosts) unexpected exit status 2: <br />
dnsmasq: failed to bind DHCP server socket: Address already in use<br />
<br />
<br />
Traceback (most recent call last):<br />
File "/usr/share/virt-manager/virtManager/createnet.py", line 351, in finish<br />
self.conn.create_network(xml)<br />
File "/usr/share/virt-manager/virtManager/connection.py", line 791, in create_network<br />
net.create()<br />
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2128, in create<br />
if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)<br />
libvirtError: internal error Child process (/usr/sbin/dnsmasq --strict-order --pid-file=/var/run/libvirt/network/NAT.pid --conf-file= --except-interface lo --bind-interfaces --listen-address 172.16.16.1 --dhcp-range 172.16.16.128,172.16.16.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/NAT.leases --dhcp-lease-max=127 --dhcp-no-override --dhcp-hostsfile=/var/lib/libvirt/dnsmasq/NAT.hostsfile --addn-hosts=/var/lib/libvirt/dnsmasq/NAT.addnhosts) unexpected exit status 2: <br />
dnsmasq: failed to bind DHCP server socket: Address already in use<br />
<br />
This is also seen in RHEL6<br />
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1154953">https://bugzilla.redhat.com/show_bug.cgi?id=1154953</a> [<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1154953" target="_blank">^</a>]
↧