• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: StartupItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StartupItems


  • Subject: Re: StartupItems
  • From: email@hidden (Peter Seebach)
  • Date: Sun, 04 Jun 2006 21:48:40 -0500

In message <email@hidden>, johnsmailinglists@ma
c.com writes:
>Well, if the service that listens on 1234 wasn't ready... then your
>service would block. How does this result in your service seeing
>"sorry, no such service?

Except that sometimes, instead of blocking, you get a connection refused.

For instance, as a concrete example, a friend's mini will fail to start
a certain job unless you have autologin on.  If autologin is off, launchd
tries to launch the job, which has a UserName key, before NetInfo is properly
up, and FAILS.  The job gets cancelled because it can't be started, because
the user doesn't exist yet.

(I assume it's a race condition.)

-s
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: StartupItems
      • From: email@hidden
References: 
 >Re: StartupItems (From: email@hidden)

  • Prev by Date: Re: Re2: GNU-Darwin: missing code in Darwin2
  • Next by Date: Re: StartupItems
  • Previous by thread: Re: StartupItems
  • Next by thread: Re: StartupItems
  • Index(es):
    • Date
    • Thread