[Pkg-uml-pkgs] Bug#470775: uml-utilities: Problem with LSB header in init.d script

Petter Reinholdtsen pere at hungry.com
Thu Mar 13 15:58:58 UTC 2008


Package:  uml-utilities
Version:  20070815-1
Severity: important
Tags:     patch
User:     initscripts-ng-devel at 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 uml-utilities package.  The
init.d script stop to late and start to early.  The reason is missing
dependencies.  It need to depend on $remote_fs to make sure /usr/ is
mounted if it is on NFS.

Here is a patch to solve these issues.

diff -ur uml-utilities-20070815.orig/debian/uml-utilities.init uml-utilities-20070815/debian/uml-utilities.init
--- uml-utilities-20070815.orig/debian/uml-utilities.init       2008-03-13 16:54:21.000000000 +0100
+++ uml-utilities-20070815/debian/uml-utilities.init    2008-03-13 16:55:59.000000000 +0100
@@ -7,8 +7,8 @@
 # Default-Start:  2 3 4 5
 # Default-Stop: 0 1 6
 # Provides: uml-utilities
-# Required-Start:
-# Required-Stop:
+# Required-Start: $remote_fs
+# Required-Stop:  $remote_fs
 ### END INIT INFO

 # Start LSB function logging





More information about the Pkg-uml-pkgs mailing list