Package:  miredo-server
Version:  1.1.5-2
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-runlevels

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d/miredo-server script.  The runlevel list state
that it should stop in runlevel 2.  This is inconsistent with the
Debian runlevels and the arguments used for update-rc.d.

<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 fail to
start in runlevel 2 by default with dependency based boot sequencing.

diff -ur miredo-1.1.5/debian/miredo-server.init 
miredo-1.1.5-pere/debian/miredo-server.init
--- miredo-1.1.5/debian/miredo-server.init      2009-08-12 18:05:21.000000000 
+0200
+++ miredo-1.1.5-pere/debian/miredo-server.init 2009-08-12 18:04:45.000000000 
+0200
@@ -14,8 +14,8 @@
 # Required-Stop:     $local_fs $remote_fs $syslog
 # Short-Description: Teredo server
 # Description:       miredo-server daemon to provide a Teredo server
-# Default-Start:     3 4 5
-# Default-Stop:      0 1 2 6
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 ### END INIT INFO


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to