[Buildbot-devel] OS X slave: could not lookup DNS configuration info service: (ipc/send) invalid destination port

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri May 7 23:10:50 UTC 2010


On 01:10 pm, greg at gerg.ca wrote:
>On Fri, May 7, 2010 at 8:50 AM, Ben Hearsum <bhearsum at mozilla.com> 
>wrote:
>>On 10-05-07 8:38 AM, Greg Ward wrote:
>>>
>>>Oh yeah: I'm unable to reproduce this failure running builds manually
>>>at the command line.  It only happens when a build is run by BuildBot
>>>(daemon process, no controlling terminal, etc.).
>>
>>This right here is your problem :). I don't know all the details, but 
>>once a
>>process like Buildbot loses its controlling Terminal it loses access 
>>to DNS
>>and some other things. The fix is to run it through launchd, or start 
>>it in
>>a Terminal.app -- and keep the Terminal open.
>
>Thank you!  How incredibly non-obvious.
>
>Incidentally, it's either not *quite* as simple as not having a
>controlling terminal.

It's about mach security contexts/ports.  I don't know of any direct 
parallel on any other platform.  So it's not surprising that it's 
surprising, as there's no other system you might have used which would 
familiarize you with this model.

I don't actually understand how it works well enough to explain it.

Jean-Paul




More information about the devel mailing list