[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#470113: xfs: Problem with LSB header in init.d script



Package:  xfs
Version:  1:1.0.4-1
Severity: important
Tags:     patch
User:     initscripts-ng-devel@lists.alioth.debian.org
Usertags: incorrect-dependency

I just checked the shutdown order in unstable on a machine with
dependency based boot sequencing enabled, and discovered a problem
with the init.d scripts provided in the xfs package.  The init.d
script list S in its stop runlevel list.  This make a useless stop
symlink in rcS.d/, and S should not be included there.

Here is a patch to solve these issues.

diff -ur xfs-1.0.5.orig/debian/xfs.init xfs-1.0.5/debian/xfs.init
--- xfs-1.0.5.orig/debian/xfs.init      2008-03-09 09:05:03.000000000 +0100
+++ xfs-1.0.5/debian/xfs.init   2008-03-09 09:08:37.000000000 +0100
@@ -26,7 +26,7 @@
 # Should-Start:      $network
 # Should-Stop:       $network
 # Default-Start:     2 3 4 5
-# Default-Stop:      S 0 1 6
+# Default-Stop:      0 1 6
 ### END INIT INFO

 set -e

Happy hacking,
--
Petter Reinholdtsen



Reply to: