Package:  yaws
Version:  1.73-1
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered what I
believe is a bug in the init.d/yaws 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, the init.d script is
started too early and stopped to late when dependency based boot
sequencing is enabled.

--- /etc/init.d/yaws    2007-05-17 20:03:57.000000000 +0200
+++ /tmp/yaws   2008-02-04 20:32:42.000000000 +0100
@@ -9,8 +9,8 @@

 ### BEGIN INIT INFO
 # Provides:          yaws
-# Required-Start:    $network
-# Required-Stop:     $network
+# Required-Start:    $remote_fs $network
+# Required-Stop:     $remote_fs $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Starts Yaws web server

Happy hacking,
--
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to