tags 514923 confirmed patch
thanks

also sprach Thomas Arendsen Hein <[email protected]> [2009.02.11.2310 +0100]:
>   insserv: warning: current start runlevel(s) (2 3 4 5) of script `mdadm' 
> overwrites defaults (S).
>   insserv: warning: current stop runlevel(s) (0 1 6) of script `mdadm' 
> overwrites defaults (0 6).

Ouch, classic copy-paste error on my part. A shame you did not spot
this earlier! :)

Patch attached.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
From f0e265cb0dc166ca0e3f9f0097740f797c4ea7e5 Mon Sep 17 00:00:00 2001
From: martin f. krafft <[email protected]>
Date: Fri, 13 Feb 2009 16:04:32 +0100
Subject: [PATCH] Fix start/stop runlevels in header of mdadm monitor init.d script

Debian bug: #514923
---
 debian/changelog  |    7 +++++++
 debian/mdadm.init |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d0cb327..f576ca2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mdadm (2.6.7.2-2) unstable; urgency=low
+
+  * Fix start/stop runlevels in header of mdadm monitor init.d script
+    (closes: #514923)
+
+ -- martin f. krafft <[email protected]>  Fri, 13 Feb 2009 16:03:40 +0100
+
 mdadm (2.6.7.2-1) unstable; urgency=low
 
   * New upstream release, created for Debian lenny:
diff --git a/debian/mdadm.init b/debian/mdadm.init
index 88b68c8..2635b36 100644
--- a/debian/mdadm.init
+++ b/debian/mdadm.init
@@ -11,8 +11,8 @@
 # Required-Start:    checkroot
 # Required-Stop:     umountroot
 # Should-Start:      module-init-tools
-# Default-Start:     S
-# Default-Stop:      0 6
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: MD monitoring daemon
 # Description:       mdadm provides a monitor mode, in which it will scan for
 #                    problems with the MD devices. If a problem is found, the
-- 
1.6.0.2

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to