Package:  nfs-common
Version:  1:1.1.0-10
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered what I
believe is a bug in this packages init.d script.

It should have stop dependencies on $portmap, to make sure it stop
before portmap is stopped.  It is also an idea to let it depend on
$local_fs and $network, if it should be able to get the correct boot
sequence number even if $portmap is not installed.

This patch should solve the issue.

diff -ur nfs-utils-1.1.1.orig/debian/nfs-common.init 
nfs-utils-1.1.1/debian/nfs-common.init
--- nfs-utils-1.1.1.orig/debian/nfs-common.init 2008-02-29 21:32:40.000000000 
+0100
+++ nfs-utils-1.1.1/debian/nfs-common.init      2008-02-29 21:34:27.000000000 
+0100
@@ -2,8 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          nfs-common
-# Required-Start:    $portmap $time
-# Required-Stop:     $time
+# Required-Start:    $local_fs $network $portmap $time
+# Required-Stop:     $local_fs $network $portmap $time
 # Default-Start:     2 3 4 5 S
 # Default-Stop:      0 1 6
 # Short-Description: NFS support files common to client and server



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to