Package: nfs-kernel-server Version: 1:1.1.1-12 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 the init.d/nfs-kernel-server script. Should not start before all file systems are mounted, but do not depend on $remote_fs which is the dependency required. It should also stop before nfs-common during shutdown, so this should be added as a stop dependency. I am working on a system to update the boot sequence based on these dependencies, and would like see this as the default in Lenny. Because of this, it is nice if the dependencies was updated quickly. <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. Without it, the init.d script is started too early and stopped to late when dependency based boot sequencing is enabled. --- /etc/init.d/nfs-kernel-server 2007-11-04 14:13:06.000000000 +0100 +++ /tmp/nfs-kernel-server 2008-02-04 22:21:49.000000000 +0100 @@ -2,8 +2,8 @@ ### BEGIN INIT INFO # Provides: nfs-kernel-server -# Required-Start: nfs-common $portmap $time -# Required-Stop: $portmap $time +# Required-Start: $remote_fs nfs-common $portmap $time +# Required-Stop: $remote_fs nfs-common $portmap $time # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Kernel NFS server support Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

