[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should Debian use lsb init-functions?

Thomas Hood dijo [Wed, May 04, 2005 at 12:05:19AM +0200]:
> I have been looking at the lsb init functions and am beginning to feel
> that they are a bad idea.

It will be a hard time converting to them, but in the end I think it
will be a net gain.

> * Converting to lsb init function requires modifying every initscript in
> Debian.
> * Every initscript has to read in a file containing a set of function
> definitions, some/most of which the initscript does not use.

Yes. Inertia is hard to break - But it is often necessary.

> * The lsb functions don't handle all the kinds of output currently
> produced by initscripts.

Ummm... But we currently only print the message. We can print the
informative messages _and_ return a meaningful success/failure
value. Further more, the base LSB functions can be extended if there
is need for it.

> I think it would be better if we simply made rc capture initscripts'
> standard output (and exit status) and formatted it in such a way that
> bootup messages were prettier.

It is not just about prettyness, but about giving more concise and
useful information at a first glance - about usability.


Gunnar Wolf - gwolf@gwolf.org - (+52-55)1451-2244 / 5554-9450
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

Reply to: