launchd for Linux
Ruben Vermeersch
ruben at Lambda1.be
Sat May 7 03:45:55 CDT 2005
And that's perhaps the weakest point of initng too, you still end up
with a heap of shell scripts crammed together, the only difference is
they'll get started at the same time, but in the end, it's the same old
thing.
Apple's launchd approach, or Sun's SMF goes beyond this by throwing out
the shell script horror (sure shell scripts are fun, but not when we
want speed and we need to run 30 of em). Initng seems like "just another
evolutionary patch" thing, not the "let's have the balls to do this
right" thing.
I'm restricting myself from re-implementing launchd on linux (because of
upcoming university exams), but I wonder how it would compare to initng.
On Fri, 2005-05-06 at 17:41 -0700, Jason Toffaletti wrote:
> One thing that is really nice about initng is that it is relatively easy
> to migrate old sysvinit to initng. You could even write a perl script to
> do most of the work converting an /etc/init.d file into an initng .i
> file. It is also a very small code base with no external dependencies
> (other than libc).
>
> launchd has the advantage of corporate backing and testing, but not on
> Linux, so that leaves it about in the same position as initng imho.
>
> - Jason T.
>
> On Fri, 2005-05-06 at 23:52 +0100, Magnus Therning wrote:
> > On Fri, May 06, 2005 at 05:17:07PM -0400, UbuWu wrote:
> > >
> > >Ruben Vermeersch Wrote:
> > >> given the time that would probably needed to port this to linux, why
> > >> not just re-implement it right away, under the GPL?
> > >
> > >Wouldn't that just give you almost the same as initng??
> >
> > Probably you are right! There is one big difference though, launchd is
> > being used in systems all over the place due to it being part of OSX,
> > initng isn't offered as part of any distro (AFAIK).
> >
> > Has anyone any idea of how much work it'd be to include it in Ubuntu.
> > (Maybe it'd be best to introduce it in Debian at the same time?) Any
> > estimations on how much work it'd be to convert existing packages to use
> > it?
> >
> > I've understood one of Ubuntu's goals is to bring down boot time, isn't
> > init under scrutiny already then?
> >
> > /M
> >
>
--
Ruben Vermeersch
http://www.Lambda1.be/
More information about the ubuntu-devel
mailing list