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

Bug#376958: kdm: Please add LSB formatted dependency info in init.d script



tags 376958 pending
stop

This will be in the next upload.

Thanks,
Christopher Martin

On Wednesday 05 July 2006 17:42, Carlos Villegas wrote:
> Package: kdm
> Version: 3.5.3-2
> 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 kdm init.d script would make it possible to use this
> information to check the current sequence and speed up the debian
> boot. This work is in progress as part of "Improving the debian boot"
> in <URL:http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/>.
>
> <URL:http://wiki.debian.org/LSBInitScripts>
> explains how to make an LSB-compliant script with Debian.
>
> The main issue is to know which scripts must executed before
> kdm starts (Required-Start). Besides, which scripts should be
> executed before if installed (Should-Start). The following is an
> example of how it should look like:
>
> ### BEGIN INIT INFO
> # Provides:          kdm
> # Required-Start:    scripts-needed
> # Required-Stop:     scripts-needed
> # Should-Start:      scripts-needed-that-may-not-be-installed
> # Should-Stop:       scripts-needed-that-may-not-be-installed
> # Default-Start:     2 3 4 5
> # Default-Stop:      0 1 6
> # Short-Description: X display manager for KDE
> # Description:       KDE is a powerful Open Source graphical desktop
> #		     environment for Unix workstations. It combines ease
> #		     of use, contemporary functionality, and outstanding
> #		     graphical design with the technological superiority
> #		     of the Unix operating system.
> ### END INIT INFO
>
>
> I am using Debian GNU/Linux Unstable, kernel 2.6.16-2-486
>
> cheers,
>
> Carlos Villegas

Attachment: pgpFd5UfTZbvJ.pgp
Description: PGP signature


Reply to: