[Dnsmasq-discuss] dnsmasq won't quit if listening on 'empty' bridge?

Paul Chambers dnsmasq at lists.bod.org
Sun Mar 29 15:23:35 BST 2009


As part of a nightly script on my linux server, dnsmasq is restarted (to 
pick up updates to a block list). However, for the last few days, it's 
failed to restart.

The observed behavior is that the (newly rotated) log is empty, the last 
line of the old log reports being terminated by sigterm, and netstat 
reports that dnsmasq is still listening to TCP/UDP port 53 on 
192.168.122.1:53, and UDP 53 on 0.0.0.0. It is no longer listening to 
the other interfaces on that machine (several real + alias interfaces). 
I have bind-interfaces and except-interface=br0 in the config file.

192.168.122.1 is bound to virbr0 (not br0), which is a bridge created 
when I recently installed kvm (kernel virtual machine). I have not added 
any 'real' interfaces to this bridge yet.

The strangest part is that I can't recreate this by typing the same 
command into the shell as is used by the script (service dnsmasq 
restart). Nor by running the script itself manually. It only happens 
when cron runs the script.

I'm running dnsmasq 2.46 on Fedora 10 (2.6.27.19-170.2.35.fc10.i686.PAE)

Any ideas?

-- Paul



More information about the Dnsmasq-discuss mailing list