[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#542112: shishi-kdc: Incorrect runlevels in init.d scripts header
From: |
Petter Reinholdtsen |
Subject: |
Bug#542112: shishi-kdc: Incorrect runlevels in init.d scripts header |
Date: |
Mon, 17 Aug 2009 23:30:19 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Package: shishi-kdc
Version: 0.0.26-1
Severity: important
Tags: patch
User: address@hidden
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
- Bug#542112: shishi-kdc: Incorrect runlevels in init.d scripts header,
Petter Reinholdtsen <=