Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43978 - dnsmasq fails to bind
Summary: dnsmasq fails to bind
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jon Portnoy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 12:45 UTC by Seemant Kulleen (RETIRED)
Modified: 2004-03-09 11:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dnsmasq proposed initscript (dnsmasq,526 bytes, text/plain)
2004-03-07 12:46 UTC, Seemant Kulleen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.