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

Bug 43978

Summary: dnsmasq fails to bind
Product: Gentoo Linux Reporter: Seemant Kulleen (RETIRED) <seemant>
Component: Current packagesAssignee: Jon Portnoy (RETIRED) <avenj>
Status: RESOLVED FIXED    
Severity: normal CC: flash3001
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dnsmasq proposed initscript

Description Seemant Kulleen (RETIRED) gentoo-dev 2004-03-07 12:45:45 UTC
When you use dnsmasq as a dhcp server for the internal network, it ALWAYS gives an error about failing to bind to interface.

I'm attaching an initscript which seems to work.  Basically, it seems that dnsmasq automatically backgrounds itself anyway, so start-stop-daemon seems to be getting in the way in the start() function.  Without that daemon everything is rosy.  However, I left start-stop-daemon to do the stopping in the stop() function.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-07 12:46:37 UTC
Created attachment 26999 [details]
dnsmasq proposed initscript
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-07 12:47:13 UTC
oh um, ignore the after firewall bit, that's not completely necessary
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2004-03-09 11:40:31 UTC
Committed.