[Pkg-alsa-devel] Bug#377717: alsa-utils: Please correct LSB formatted dependency info in init.d script

Carlos Villegas Carlos.Villegas at nuim.ie
Mon Jul 10 20:36:17 UTC 2006


Package: alsa-utils
Version: 1.0.11-5
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 alsa-utils 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 and there is a 
list of init-scripts and their LSB-compliance status in:
<URL:http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html>

The init script already specifies that it requires only mountall for 
starting. Nevertheless, the Provides and Required-Stop boot facilities 
are missing. The following is an example of how it should look like:

### BEGIN INIT INFO
# Provides:          alsa-utils
# Required-Start:    mountall
# Required-Stop:     mountall
# Should-Start:
# Should-Stop:
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Restore and store ALSA driver settings
# Description:       This script stores and restores mixer levels on
#		     shutdown and bootup.
### END INIT INFO


I am using Debian GNU/Linux Unstable, kernel 2.6.16-2-486

cheers,

Carlos Villegas






More information about the Pkg-alsa-devel mailing list