• 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: André-John Mas <email@hidden>
  • Date: Tue, 16 May 2006 22:40:50 -0400


On 16-May-06, at 11:52 , Dave Zarzycki wrote:

What if we added tap(4) support to launchd? Would that satisfy most of your needs?

If you want something running all the time, just set OnDemand to false in your launchd configuration file.

davez

Not sure, though I should mention that Miredo uses the following package:


 http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

As far as I can tell there is no tun driver in Darwin (it would be a nice addition)

I've never used launchd, so I will have to see what modifications I need to do.

Andre



On May 15, 2006, at 6:57 PM, André-John Mas wrote:

Miredo is an implementation of Teredo, providing a 6to4 tunnel with NAT support.
This application use tun/tap to provide the host computer access to IPv6 networks.
For this reason it can't really just start running when a connection is made to
some specific IP address, since it won't be listening to any specific port.


I am open to suitable approaches for allowing this to start running when the system
starts. I haven't really played much with launchd and I was following what I knew
worked. How would I present this to launchd?


Andre


On 15-May-06, at 15:59 , Jordan K. Hubbard wrote:


On May 15, 2006, at 12:00 PM, Finlay Dobbie wrote:

That's much more efficient than starting a service and vending a name
hoping someone wants to use it, or wants to wait for it.

Depends. In a server environment, I'd want the service available and
ready to take client connections immediately - without any startup
overhead - especially if it needs to perform lengthy initialisation.

You can't generalize like that, however. You might want SOME services to start immediately (in which case, the RunAtLoad launchd plist item is probably your friend) but ALL services? No way. That's just wasteful, and unless you make a habit of putting 4GB (for now!) of memory in every machine you own, probably going to have a noticeable performance impact as other things fight for the memory that's being taken up by all those services just lying around doing their nails and watching daytime TV.


Sorry, but the "server environment" classification hardly guarantees that each and every service being provided by the server needs to be running all the time, particularly in SOHO configurations where one box serves potentially dozens of needs "in theory" but, in practice, finds many of those needs to be occasional usage scenarios at best.

- Jordan

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


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:
40apple.com


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
References: 
 >StartupItems (From: André-John Mas <email@hidden>)
 >Re: StartupItems (From: Kevin Van Vechten <email@hidden>)
 >Re: StartupItems (From: "Finlay Dobbie" <email@hidden>)
 >Re: StartupItems (From: "Finlay Dobbie" <email@hidden>)
 >Re: StartupItems (From: "Jordan K. Hubbard" <email@hidden>)
 >Re: StartupItems (From: André-John Mas <email@hidden>)
 >Re: StartupItems (From: Dave Zarzycki <email@hidden>)

  • Prev by Date: Re: StartupItems
  • Next by Date: intercepting system calls works on tiger(10.4.5) but not on panther(10.3.9)
  • Previous by thread: Re: StartupItems
  • Next by thread: Re: StartupItems
  • Index(es):
    • Date
    • Thread