Package:  shishi-kdc
Version:  0.0.26-1
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 script.  The update-rc.d call said it should have
the default settings, while the runlevels listed in the init.d header
do not match this.

<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, by making sure the init.d script is
started in runlevel 2 by default.

diff -ur shishi-0.0.40/debian/shishi-kdc.init.d 
shishi-0.0.40-pere/debian/shishi-kdc.init.d
--- shishi-0.0.40/debian/shishi-kdc.init.d      2009-08-17 23:27:57.000000000 
+0200
+++ shishi-0.0.40-pere/debian/shishi-kdc.init.d 2009-08-17 23:28:17.000000000 
+0200
@@ -3,8 +3,8 @@
 # Provides: shishid
 # Required-Start: $remote_fs $network $syslog
 # Required-Stop: $remote_fs $network $syslog
-# Default-Start: 3 4 5
-# Default-Stop: 0 1 2 6
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
 # Short-Description: shishid - Kerberos Key Distribution Center (KDC)
 # Description:
 #      Start/stop the kerberos authentication service

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