[Pkg-alsa-devel] Bug#464020: alsa-utils: Incorrect init.d script dependencies
Petter Reinholdtsen
pere at hungry.com
Mon Feb 4 19:13:13 UTC 2008
Package: alsa-utils
Version: 1.0.15-2
Severity: important
Tags: patch
User: initscripts-ng-devel at lists.alioth.debian.org
Usertags: incorrect-dependency
When testing dependency based boot sequencing, I discovered what I
believe is a bug in the init.d/alsa-utils script. It need a mounted /usr/,
but do not depend on $remote_fs which is the dependency required for
scripts needing /usr/.
I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.
<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>.
This patch should solve the issue. Without it, alsa-utils is started
too early and stopped to late when dependency based boot sequencing is
enabled.
--- /etc/init.d/alsa-utils 2007-06-09 21:27:08.000000000 +0200
+++ /tmp/alsa-utils 2008-02-04 20:10:44.000000000 +0100
@@ -4,10 +4,8 @@
#
### BEGIN INIT INFO
# Provides: alsa-utils
-# Required-Start: $local_fs
-# Required-Stop: $local_fs
-# Should-Start:
-# Should-Stop:
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Restore and store ALSA driver settings
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-alsa-devel
mailing list