[Dnsmasq-discuss] macport installation not starting
post at bushbaby.nl
Mon Sep 7 11:48:32 BST 2009
Thanks, that works beautiful!
I have no use for your second section about particular interfaces, so
can't test that...
On 4 sep 2009, at 16:19, Perette Barella wrote:
> On 2009年09月04日, at 7:10, B. Kamer wrote:
> You are right, the
> dnsmasq.wrapper does try to call the missing script on Leopard too.
> The MacPort people probably know more about this... the whole plist
> invokes daemondo which runs dnsmasq.wrapper which runs dnsmasq.sh
> which finally invokes dnsmasq seems bizarrely complex. On my server,
> I don't use the MacPorts dnsmasq and rolled my own plist file:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> <plist version="1.0">
> Give that a try. If you have bound to a particular interface, though,
> this won't work reliably because there's a race condition between
> dnsmasq starting and the interfaces being up. A workaround is to
> replace the <array> in the above:
> <string>sleep 10 && exec /usr/local/sbin/dnsmasq -k</string>
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss