Bug 683582 - dnsmasq service prevents libvirt's default network from starting
Summary: dnsmasq service prevents libvirt's default network from starting
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 14
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 18:48 UTC by mark
Modified: 2011-03-10 10:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-10 10:14:23 UTC
Type: ---


Attachments (Terms of Use)

Description mark 2011-03-09 18:48:31 UTC
Description of problem:

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


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

libvirt-0.8.3-2.fc14.x86_64
dnsmasq-2.52-1.fc13.x86_64
kernel version 2.6.35.11-83.fc14.x86_64

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
                                                           [FAILED]

Comment 1 Daniel Berrangé 2011-03-10 10:14:23 UTC
This is a known issue that requires a workaround in dnsmasq.conf:

http://wiki.libvirt.org/page/Libvirtd_and_dnsmasq


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