• 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: StartupItemContext & Darwin 6.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StartupItemContext & Darwin 6.x


  • Subject: Re: StartupItemContext & Darwin 6.x
  • From: Shantonu Sen <email@hidden>
  • Date: Sun, 27 Feb 2005 10:38:14 -0800

In Darwin 6, you can ssh in to the machine as root and start the daemon. In Darwin 6, ssh connections did not get put into their own bootstrap subset context, and used the context of the master sshd, which was the root bootstrap context.

Shantonu

On Feb 27, 2005, at 5:56 AM, Stéphane Sudre wrote:


On dimanche, février 27, 2005, at 04:03 AM, Kevin Van Vechten wrote:

I believe executing SystemStarter on the command line will use the login context by default, which is the reason StartupItemContext was invented.

- Kevin

On Feb 26, 2005, at 2:41 PM, Stéphane Sudre wrote:


On mercredi, février 23, 2005, at 02:55 AM, Kevin Van Vechten wrote:


These commands have no equivalent in Darwin 6.x, they were introduced in Darwin 7.x.

Event though StartupItemContext compiles on Darwin 6.x, it may require support from mach_init which isn't present in that version (this is just speculation).

Is it possible to get the same behavior by running:

SystemStarter -v start TheServiceName

then?

The How-To in the Darwin documentation (and the man page of SystemStarter in 10.2.8) is not really clear on the context. Would it be a StartupItem context (bootstrap) or another one?

So basically, there is no way in Mac OS X 10.2 to cleanly kill a bootstrap process and relaunch it.


The only solution is to restart the computer, isn't it?



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


This email sent to email@hidden

_______________________________________________ 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: StartupItemContext & Darwin 6.x
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: StartupItemContext & Darwin 6.x (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: StartupItemContext & Darwin 6.x
  • Next by Date: Re: StartupItemContext & Darwin 6.x
  • Previous by thread: Re: StartupItemContext & Darwin 6.x
  • Next by thread: Re: StartupItemContext & Darwin 6.x
  • Index(es):
    • Date
    • Thread