[Dnsmasq-discuss] macport installation not starting

Perette Barella perette at barella.org
Fri Sep 4 08:52:23 BST 2009

I've just done a port install dnsmasq on my desktop (Leopard) and it  
doesn't try to invoke that script.  Maybe the /Library/LaunchDaemons/ 
org.macports.dnsmasq.plist file got munged in the SnowLeopard  
transition and hasn't been fixed in MacPorts yet?

Here's the Leopard contents... I'd suggest trying plugging this in and  
see what happens, worst case is just still doesn't work:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<plist version='1.0'>

If that doesn't work, maybe put the file back to the SnowLeopard state  
and try to find the missing script... maybe it's just misplaced.  Try  
a 'find / -name dnsmasq.sh -print'.

You might also want to check the MacPorts bug tracker to see if this  
has been reported and if there's any workaround for it.  If not, then  
it probably should get added along with anything you figure out.

As far as the second issue... I know my dnsmasq points to its own  
resolv.conf, not the actual one.  Automating this for you probably  
means it's going to break things for others.


On 2009年09月03日, at 17:10, B. Kamer wrote:

> Hi all, new to dnsmasq and run into a few questions that I can't seem
> to find an answer for....
> I'm on OSX Snow Leopard and have installed the latest version via
> macports
> First problem, dnsmasq does not start automatically
> I have run the following command to install the startup script :
> 	sudo launchctl load -w /Library/LaunchDaemons/
> org.macports.dnsmasq.plist
> however that script references a wrapper script that references the
> following non existing file.
> 	/opt/local/etc/startup/dnsmasq.sh
> I have search for examples of such a file, but can't seem to find
> anything... What need to be in this file? And why wouldn't that be
> included with the macports installation?
> I can start dnsmasq manually with
> sudo dnsmasq
> how would I stop/restart it manually?
> Second issue :
> 	with the default installation macport installation dnsmasq tries to
> load /opt/local/etc/resolv.conf which should be /etc/resolv.conf
> so i've uncommented in /opt/local/etc/dnsmasq.conf to override that
> 	resolv-file=/etc/resolv.conf
> anyway could this be automated for macports installations?
> thanks
> bas
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list