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

Bug#335323: discover: Please add LSB formatted dependency info in init.d script



On Sun, Oct 23, 2005 at 12:45:23PM +0200, Petter Reinholdtsen wrote:
> 
> Package:  discover1
> Version:  1.7.7
> Severity: wishlist
> 
> To be able to check boot script order, and also to be able to start
> boot scripts in parallel, it is important to know the dependencies of
> the various boot scripts.  The Linux Software Base specifies a init.d
> header file format useful for this purpose, and adding such header to
> the init.d scripts would make it possible for me to use this
> information to check the current sequence and speed up the debian
> boot.
> 
> <URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
> documents the LSB header format.  Some debian notes are available from
> <URL:http://wiki.debian.org/?LSBInitScripts>.
> 
> Here is a proposed dependency header to document the dependencies of
> discover.  It is slightly tested using the insserv package and the new
> parallell booting support in sysvinit.
> 
> ### BEGIN INIT INFO
> # Provides:          discover
> # Required-Start:    mountvirtfs checkroot $local_fs

What's $local_fs? If these are local filesystems other than root, they
shouldn't be needed, because we moved all files of discover out of /var
and /usr to make it work if these are on network filesystems.

> # Required-Stop: 
> # Default-Start:     S 1 2 3 4 5
> # Default-Stop:      0 6
> ### END INIT INFO

Are the ### BEGIN ... and ### END ... tags significant or can they be
omitted?

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~

Attachment: pgp5KR0QhdZXM.pgp
Description: PGP signature


Reply to: