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

Bug#335350: xserver-xorg: Please add LSB formatted dependency info in init.d script



Package:  xserver-xorg
Version:  6.8.2.dfsg.1-9
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
xserver-xorg.  It is slightly tested using the insserv package and the
new parallell booting support in sysvinit.

### BEGIN INIT INFO
# Provides:          xserver-xorg
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     S 1 2 3 4 5
# Default-Stop:      0 6
### END INIT INFO



Reply to: