[Buildbot-devel] Network access problems on OS X 10.5 buildslave

Dustin J. Mitchell dustin at zmanda.com
Mon Mar 31 21:19:17 UTC 2008


I ran into this problem independently, and found the root cause,
documented here:
  http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/contexts/chapter_9_section_1.html

One alternative solution is to run the buildslave under
StartupItemContext; we have a script containing
   /usr/libexec/StartupItemContext /usr/bin/su - buildslave
/home/buildslave/buildslave/bin/start-buildslave $port
whre start-buildslave is the script that actually starts the slave
(and does a bunch of other stuff -- that's why the launchd script
won't work for us).

Apple definitely heeds its "think different" credo, but at least the
thinking is usually well-documented. :)

HTH,
Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list