Bug 683582 - dnsmasq service prevents libvirt's default network from starting
dnsmasq service prevents libvirt's default network from starting
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Daniel Veillard
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2011-03-09 13:48 EST by mark
Modified: 2011-03-10 05:14 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-03-10 05:14:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mark 2011-03-09 13:48:31 EST
Description of problem:

it appears impossible to run libvirt daemon and dnsmasq at the same time.

Version-Release number of selected component (if applicable):

kernel version

How reproducible:

# sudo service dnsmasq start
# sudo virsh net-start default

Steps to Reproduce:

see above
Actual results:

error: Failed to start network default
error: internal error '/sbin/iptables --table filter --delete INPUT --in-interface virbr0 --protocol udp --destination-port 69 --jump ACCEPT' exited with non-zero status 1 and signal 0: iptables: Bad rule (does a matching rule exist in that chain?).

Expected results:

both services start correctly

Additional info:

if i stop dnsmasq and then issue the command "sudo virsh net-start default" it starts correctly. 

if i start the default network usuing the "sudo virsh net-start default" command and then try to start dnsmasq service, i get this:

# sudo service dnsmasq start
Starting dnsmasq: 
dnsmasq: failed to create listening socket: Address already in use
Comment 1 Daniel Berrange 2011-03-10 05:14:23 EST
This is a known issue that requires a workaround in dnsmasq.conf:


Note You need to log in before you can comment on or make changes to this bug.