Linked by Thom Holwerda on Fri 30th Apr 2010 18:41 UTC, submitted by diegocg
Linux Via LWN: "Lennart Poettering has put up a lengthy post describing the 'systemd' project, which is creating a new init system. The whole thing is an interesting discussion of how system initialization should work. Upstart maintainer Scott James Remnant has posted a response to the announcement."
Thread beginning with comment 421843
To read all comments associated with this story, please click here.
launchd
by foobaz on Fri 30th Apr 2010 19:44 UTC
foobaz
Member since:
2009-12-05

Why not use launchd? It was written by Apple for OSX, but is licensed under the Apache license. It is far more sophisticated than init, replacing cron, inetd, and other old crusty daemons, doing a better job in most cases. It uses textfiles for configuration like a good UNIX citizen. I'm honestly surprised it hasn't garnered more attention in the Linux/BSD community. Some info:

http://developer.apple.com/macosx/launchd.html
http://en.wikipedia.org/wiki/Launchd
http://developer.apple.com/mac/library/documentation/Darwin/Referen...

Reply Score: 3

RE: launchd
by Rahul on Fri 30th Apr 2010 20:00 in reply to "launchd"
Rahul Member since:
2005-07-06

The article does answer that.

Reply Parent Score: 4

RE[2]: launchd
by foobaz on Fri 30th Apr 2010 20:39 in reply to "RE: launchd"
foobaz Member since:
2009-12-05

The article points out a few shortcomings in launchd, but admits it does most of what he wants just fine. His only concrete objections are (1) not all existing daemons would be compatible with launchd, and (2) launchd is not flexible enough to do everything he can conceive.

I believe it would be wiser to use a working, release-quality codebase than to write something from scratch. If more backwards compatibility is needed, it would be much simpler to add this functionality to launchd - there is nothing in its architecture to prevent this. And to answer his second objection, sure, launchd is not perfect, but it's much, much better than init/cron/inetd/xinetd/whatever.

Plus, if Linux adopted launchd, daemons could be written to be compatible with both Linux and OS X, and developers from both communities could contribute to the further development of launchd. Both OSs would benefit from sharing an open standard.

Reply Parent Score: 3