Your message dated Mon, 14 Jan 2008 00:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#458837: fixed in nbd 1:2.9.9-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: nbd-client nbd-server
Version: 1:2.9.9-1
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: incorrect-dependency
When testing dependency based boot sequencing, I discovered a bug in
the init.d script for nbd-client. While I was at it, I also checked
the script for nbd-server.
nbd-client claim that it need to start before $remote_fs, and this
creates a dependency loop in the init.d script dependency graph. It
is obviously a mistake, as the remote file systems are started in the
boot "runlevel" (rcS.d), while nbd-client is started in runlevel 2-5
later in the boot, and thus can not be started before /usr/ is
guaranteed to be mounted. Because of this, I suggest the header
X-Start-Before is removed.
I assume nbd-client need a read-write / to mount file systems, and
added $local_fs as a dependency because of this. I reduced $network
to a optional dependency, as I assume it can run also without a
network like nbd-server was set to do. If this is wrong, $network
should be moved from should-* to required-*.
nbd-server was set to stop in the boot "runlevel". That is
impossible, so S is removed from default-stop. It depended on both
$local_fs and $remote_fs. That is not needed, as $remote_fs already
depend on $local_fs.
I'm setting severity to important as this issue make it impossible to
install nbd-client when dependency based boot sequencing is enabled.
This patch implement the change:
diff -ur nbd-2.9.9.orig/debian/nbd-client.init.d
nbd-2.9.9/debian/nbd-client.init.d
--- nbd-2.9.9.orig/debian/nbd-client.init.d 2008-01-03 09:00:21.000000000
+0100
+++ nbd-2.9.9/debian/nbd-client.init.d 2008-01-03 09:03:01.000000000 +0100
@@ -16,11 +16,12 @@
#
### BEGIN INIT INFO
# Provides: nbd-client
-# Required-Start: $network
-# Required-Stop: $network
+# Required-Start: $local_fs
+# Required-Stop: $remote_fs
+# Should-Start: $network
+# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# X-Start-Before: $remote_fs
# Short-Description: Network Block Device client
### END INIT INFO
#
diff -ur nbd-2.9.9.orig/debian/nbd-server.init.d
nbd-2.9.9/debian/nbd-server.init.d
--- nbd-2.9.9.orig/debian/nbd-server.init.d 2008-01-03 09:00:21.000000000
+0100
+++ nbd-2.9.9/debian/nbd-server.init.d 2008-01-03 09:01:32.000000000 +0100
@@ -14,12 +14,12 @@
#
### BEGIN INIT INFO
# Provides: nbd-server
-# Required-Start: $local_fs $remote_fs
-# Required-Stop: $local_fs $remote_fs
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
-# Default-Stop: S 0 1 6
+# Default-Stop: 0 1 6
# Short-Description: Network Block Device server
### END INIT INFO
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Source: nbd
Source-Version: 1:2.9.9-4
We believe that the bug you reported is fixed in the latest version of
nbd, which is due to be installed in the Debian FTP archive:
nbd-client-udeb_2.9.9-4_powerpc.udeb
to pool/main/n/nbd/nbd-client-udeb_2.9.9-4_powerpc.udeb
nbd-client_2.9.9-4_powerpc.deb
to pool/main/n/nbd/nbd-client_2.9.9-4_powerpc.deb
nbd-server_2.9.9-4_powerpc.deb
to pool/main/n/nbd/nbd-server_2.9.9-4_powerpc.deb
nbd_2.9.9-4.diff.gz
to pool/main/n/nbd/nbd_2.9.9-4.diff.gz
nbd_2.9.9-4.dsc
to pool/main/n/nbd/nbd_2.9.9-4.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Wouter Verhelst <[EMAIL PROTECTED]> (supplier of updated nbd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 06 Jan 2008 17:39:24 +0100
Source: nbd
Binary: nbd-client nbd-server nbd-client-udeb
Architecture: source powerpc
Version: 1:2.9.9-4
Distribution: unstable
Urgency: low
Maintainer: Wouter Verhelst <[EMAIL PROTECTED]>
Changed-By: Wouter Verhelst <[EMAIL PROTECTED]>
Description:
nbd-client - the Network Block Device client
nbd-client-udeb - the Network Block Device client
nbd-client-udeb - the Network Block Device client (udeb)
nbd-server - the Network Block Device server
Closes: 458619 458837 459330 459347 459785
Changes:
nbd (1:2.9.9-4) unstable; urgency=low
.
* Don't touch devices that have the _netdev option.
* Move nbd-client initscript to 41 in runlevel S, and S34 in runlevel 0 and
6, so that it's called before resp. after mountnfs.sh
* Add NEWS file to document change from "noauto" to "_netdev", containing a
procedure for system administrators explaining how to do it.
* Fix LSB headers in both initscripts. Closes: #458837.
* Document root-on-NBD setup in nbd-client README.Debian.
* Updated debconf translations:
- Dutch, by $SELF
- Portuguese, by Américo Monteiro
- Vietnamese, by Clytie Siddall; Closes: #458619.
- Czech, by Miroslav Kure; Closes: #459330.
- French, by Christian Perrier and the French Cabal; Closes: #459347.
- German, by Helge Kreutzman; Closes: #459785.
* Updated nbd-client.templates to mention "_netdev" rather than "noauto",
and defuzzied translation files.
* TODO:
- add bug number to debian/nbd-client.README
Files:
18f792c2d35801f0b7f6f76a356df24a 603 admin optional nbd_2.9.9-4.dsc
1c3f1b2bd84631e27ff6ab908e32ae0a 50121 admin optional nbd_2.9.9-4.diff.gz
fd18ea91d651067b24c695d0832d7a4a 53352 admin optional
nbd-server_2.9.9-4_powerpc.deb
75bc9edb3c87c529a9a049655de23593 41026 admin optional
nbd-client_2.9.9-4_powerpc.deb
762e415a82c32cbd7cb182cff73fec0d 6920 debian-installer optional
nbd-client-udeb_2.9.9-4_powerpc.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHiqp1PfwsYq950p4RAk8wAJ4nwkdkPgyzFXUlGZ+glOX0baqJxwCeNY/W
DFIWJBTra+fm+skOMgi3eis=
=PQb+
-----END PGP SIGNATURE-----
--- End Message ---