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

Carlos Villegas Carlos.Villegas at nuim.ie
Mon Jul 10 20:09:33 UTC 2006


Package: alsa-base
Version: 1.0.11-3
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 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
alsa 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 based on the latest alsa-utils dependencies:

### BEGIN INIT INFO
# Provies:           alsa
# Required-Start:    mountall
# Required-Stop:     mountall
# Should-Start:
# Should-Stop:
# Default-Start:     S
# Default-Stop:      0 1 6
# Short-Description: Script to unload and load ALSA modules
# Description:       Used to load and unload ALSA modules and
#		     restore and store mixer levels. There is no
#	  	     longer any need to run this script on bootup
#		     or shutdown. It remains in /etc/init.d/ because
#		     certain other other scripts expect to find it.
### 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