• 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: DO and StartupItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DO and StartupItems


  • Subject: Re: DO and StartupItems
  • From: Andrew Pinski <email@hidden>
  • Date: Mon, 23 Sep 2002 20:19:17 -0700

No that is not the problem.
Darwin (Mach kernel actually) uses a different method of security
when it comes to mach ports (used in DO and others).

The problem is that the mach bootstrap (starting with 10.2) is
different between the StartupItems and the GUI and the logins via ssh.

I do not know how to get around this.

Thanks,
Andrew Pinski

On Monday, Sep 23, 2002, at 20:06 US/Pacific, Terence Goggin wrote:

Hi all,

I've got a setup now where some processes run as daemons, and communicate with a UI-based app through DO/NSConnection logic.


Everything was working fine until today when I created a proper installer for the system and did the install. Suddenly, it was clear that the daemons (launched as StartupItems now instead of just via sudo in the terminal) were not communicating with the main app.

I'm guessing that root-processes such as StartupItems can't communicate with user-processes such as the UI, but... that's just a guess. So, is there any way to (a) make the daemons launch as startup items specific to a user or (b) get the root-processes talking to a UI app?

This beyond my comprehension, and I'd greatly appreciate any help as this is the last piece stopping us from shipping something.

Thank you!!!

Terence

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: DO and StartupItems
      • From: Adam Thayer <email@hidden>
References: 
 >DO and StartupItems (From: "Terence Goggin" <email@hidden>)

  • Prev by Date: DO and StartupItems
  • Next by Date: Re: restarting from an applicaiton
  • Previous by thread: DO and StartupItems
  • Next by thread: Re: DO and StartupItems
  • Index(es):
    • Date
    • Thread