launchctl - Daemons Failing to Start
Oct 1 06:49:26 localhost kernel[0]: mac 12.10 phy 8.1 radio 12.0 Oct 1 06:49:26 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled Oct 1 06:49:25 localhost lookupd[47]: lookupd (version 369.6) starting - Mon Oct 1 06:49:25 2007 Oct 1 06:49:26 localhost launchd: uk.org.thekellys.dnsmasq: respawning too quickly! throttling Oct 1 06:49:26 localhost launchd: uk.org.thekellys.dnsmasq: 9 more failures without living at least 60 seconds will cause job removal Oct 1 06:49:26 localhost launchd: uk.org.thekellys.dnsmasq: will restart in 10 seconds Oct 1 06:49:26 localhost dnsmasq[60]: failed to access /etc/resolv.conf: No such file or directory Oct 1 06:49:26 localhost kernel[0]: yukonosx: Ethernet address 00:17:f2:c2:32:ca Oct 1 06:49:26 localhost diskarbitrationd[44]: disk0s2 hfs 8F0C717B-05A9-32C3-A2A5-C738F6BF4D71 Hex /
Now; dnsmasq does ultimately start and create the resolv.conf symlink, but why these failures? I thought maybe the network isn't up yet, but there is no way to make the network a dependency of dnsmasq under launchctl. The plist is in /Library/LaunchDaemons.
Seems to me that I can't figure out what's wrong if logging won't tell me.
I am also getting these same startup problems with my Squid daemon, but it never manages to start on startup. It is in ~/Library/LaunchAgents/, so should start on login, when the network should be up. The plist checks out fine:
$ plutil -lint Library/LaunchAgents/org.macports.Squid.plist ~/Library/LaunchAgents/org.macports.Squid.plist: OK $
It starts fine if I:
sudo launchctl load -w ~/Library/LaunchAgents/org.macports.Squid.plist
Any suggestions?
Also BTW, how can I set IPV6 to default reject? It is disabled on all interfaces, but why take a chance?
IBM A22P, Debian Linux (8 years), Etch