[Pkg-pulseaudio-devel] Bug#470934: pulseaudio: Problem with LSB header in init.d script

Petter Reinholdtsen pere at hungry.com
Fri Mar 14 16:42:24 UTC 2008


Package:  pulseaudio
Version:  0.9.8-1
Severity: important
Tags:     patch
User:     initscripts-ng-devel at lists.alioth.debian.org
Usertags: incorrect-dependency

I just checked the boot order in unstable on a machine with dependency
based boot sequencing enabled, and discovered a problem with the
init.d scripts provided in the pulseaudio package.  A stop symlink is
inserted in the rcS.d/ directory.  This is always wrong and 'S' should
be removed from the Default-Stop header.  Also, the script need a
mounted /usr/ and should thus depend on $remote_fs, not $local_fs.

Here is a patch to solve these issues.

diff -ur pulseaudio-0.9.9.orig/debian/pulseaudio.init pulseaudio-0.9.9/debian/pulseaudio.init
--- pulseaudio-0.9.9.orig/debian/pulseaudio.init        2008-03-14 17:39:09.000000000 +0100
+++ pulseaudio-0.9.9/debian/pulseaudio.init     2008-03-14 17:40:11.000000000 +0100
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 ### BEGIN INIT INFO
 # Provides:          pulseaudio esound
-# Required-Start:    $local_fs $syslog dbus
-# Required-Stop:     $local_fs $syslog dbus
+# Required-Start:    $remote_fs $syslog dbus
+# Required-Stop:     $remote_fs $syslog dbus
 # Should-Start:      dbus
 # Should-Stop:       dbus
 # Default-Start:     2 3 4 5
-# Default-Stop:      S 0 1 6
+# Default-Stop:      0 1 6
 # Short-Description: Start the PulseAudio sound server
 # Description:       System mode startup script for
 #                    the PulseAudio sound server.






More information about the Pkg-pulseaudio-devel mailing list