[Pkg-alsa-devel] Bug#447539: alsa-base: /etc/init.d/alsa Uses the wrong verbs vs Debian policy

Karl Schmidt karl at xtronics.com
Mon Oct 22 01:16:40 UTC 2007


Package: alsa-base
Version: 1.0.13-5
Severity: normal


alsa-base contains the script /etc/init.d/alsa which isn't using standard arguments 
so it fails with run/stop tools such as invoke-rc.d wajig etc.

There is a 'should' about this in Debian policy.. See:

 http://www.debian.org/doc/debian-policy/ch-opersys.html
read section 9.3.2

(note this is not a 'must' or 'required' or I would have had to file this as 'serious'. Yet,
I dont think there is a good reason not to follow Debian Policy.)

>From the comand line:
#invoke-rc.d alsa start
Result:
Usage: /etc/init.d/alsa {unload|reload|force-unload|force-reload|suspend|resume}
invoke-rc.d: initscript alsa, action "start" failed.

-- 

It would be trivial to change the verbs.

'reload' or 'force-reload' should be 'start' 
and 
'force-unload' should be 'stop'

You can continue to use the ones you have, but should at least add 'start' and 
'stop'.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

- debconf information:
  alsa-base/alsactl_store_on_shutdown: never autosave





More information about the Pkg-alsa-devel mailing list