On 09 Φεβ 2010, at 3:34 μ.μ., Arun wrote:
Hi All,
I have a setup in which when the Mac reboots, i will be launching a script through launchd.
This daemon writes multiple plist files in /Library/LaunchAgents and tries to load the same for all the users currently logged in.
The loading of the agents is failing with "launch_msg(): Socket is not connected".
However if i run the script in Terminal as root user, the error does not come.
Any idea why this is happening with launchd triggered script?
Something is wrong with the permissions or the ethernet (even loopback) interface is not up when the script runs. It's not an uncommon situation for launchd.
Thanks
Arun KA
_______________________________________________
launchd-dev mailing list
launchd-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev