[Buildbot-devel] Network access problems on OS X 10.5 buildslave
C. E. Ball
ceball at gmail.com
Fri Mar 28 04:31:01 UTC 2008
On Fri, Mar 28, 2008 at 2:55 AM, john gale <john at smadness.com> wrote:
>
> 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
> sessions".
>
> 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.
Thank you for that explanation!
> 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.
You're right, that works.
> 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
I'm sorry I didn't notice that page myself (even though it's linked
from the buildbot homepage) - thanks for pointing it out. And thanks
to BahamutZERO and smadness (guess that's you, John) for authoring it.
Thanks for your help.
Chris
More information about the devel
mailing list