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

john gale john at smadness.com
Thu Mar 27 18:55:00 UTC 2008

On Mar 27, 2008, at 4:38 AM, C. E. Ball wrote:

> Commands that require no network access work without any problems. I
> am puzzled; has anyone else had a problem like this? Can anyone
> suggest what I can try to solve this problem?

You're running into one of the issues with launchd and "security  

The gist of it is that when you start the command over ssh, you're  
starting it in the "user session".  Once you log out of ssh, launchd  
notices that this user session has been terminated and essentially  
shuts down that user session.  This starts causing certain actions to  
fail, especially those that require other aspects of the user session.

You can work around this somewhat by using "nohup" in front of the  
"buildbot start" command, which should try to keep it alive past  
logging out of ssh.

But I would strongly recommend you start looking into a launchd plist  
to run your buildbot command.  There's an example plist on http://buildbot.net/trac/wiki/UsingLaunchd

launchd offers a more fluid and "supported" workflow for things like  
this.  Let me know if you have any more detailed questions.

	~ john

support the arts!

updated October 12, 2005

More information about the devel mailing list