Your message dated Tue, 13 Apr 2010 11:02:12 +0000
with message-id <[email protected]>
and subject line Bug#568222: fixed in nbd 1:2.9.15-2
has caused the Debian Bug report #568222,
regarding nbd-client: NBD root: please support getting settings from DHCP.
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
568222: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568222
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nbd-client
Severity: wishlist
Tags: patch
currently, the only way to configure NBD root is to specify all of the
information via /proc/cmdline, largely through the nbdroot variable.
since it's is loaded over the network, NBD root could be enabled if certain
values were passed via DHCP.
this probably doesn't work robustly due to not having all variables set for
configure_networking, but it should demonstrate setting the ROOTPATH to
nbdroot= via DHCP:
--- nbd-client.initrd.orig 2010-02-03 00:16:23.000000000 -0800
+++ nbd-client.initrd 2010-02-03 00:28:35.000000000 -0800
@@ -12,6 +12,12 @@
log_begin_msg "Setting up nbd-client"
for x in $(cat /proc/cmdline); do
# We don't need to redo what all of what /init already did...
+ case $x in
+ nbdroot=dhcp)
+ configure_networking
+ x=${ROOTPATH}
+ ;;
+ esac
case $x in
nbdroot=*,*,*)
nbdroot="${x#nbdroot=}"
alternately or additionally, sourcing another file (/conf/nbdroot.conf) in
addition to parsing /proc/cmdline would allow other scripts to pass variables
to the nbd script.
my current goal is to be able to write a wrapper script for ltsp that does
different things based on dhcp responses, and one of the options is to use
nbd-client's NBD root support, though currently being so dependent on
/proc/cmdline makes this difficult.
live well,
vagrant
--- End Message ---
--- Begin Message ---
Source: nbd
Source-Version: 1:2.9.15-2
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.15-2_amd64.udeb
to main/n/nbd/nbd-client-udeb_2.9.15-2_amd64.udeb
nbd-client_2.9.15-2_amd64.deb
to main/n/nbd/nbd-client_2.9.15-2_amd64.deb
nbd-server_2.9.15-2_amd64.deb
to main/n/nbd/nbd-server_2.9.15-2_amd64.deb
nbd_2.9.15-2.diff.gz
to main/n/nbd/nbd_2.9.15-2.diff.gz
nbd_2.9.15-2.dsc
to main/n/nbd/nbd_2.9.15-2.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.8
Date: Tue, 30 Mar 2010 11:50:19 +0200
Source: nbd
Binary: nbd-server nbd-client nbd-client-udeb
Architecture: source amd64
Version: 1:2.9.15-2
Distribution: unstable
Urgency: low
Maintainer: Wouter Verhelst <[email protected]>
Changed-By: Wouter Verhelst <[email protected]>
Description:
nbd-client - Network Block Device protocol - client
nbd-client-udeb - Network Block Device protocol - client for Debian Installer
(udeb)
nbd-server - Network Block Device protocol - server
Closes: 568222
Changes:
nbd (1:2.9.15-2) unstable; urgency=low
.
* Add extra configure_networking call in case of nbdroot=dhcp. Oops.
Closes: #568222.
Checksums-Sha1:
2e0f117eff008c05928ea8d2669f2a3cfc1f6ed1 1133 nbd_2.9.15-2.dsc
c449c1f39e139e25603973b5d1f3dd862b6b5d08 68236 nbd_2.9.15-2.diff.gz
230452744fb7a84c38c961718e9503012f890a59 57508 nbd-server_2.9.15-2_amd64.deb
d2e5f66144cc91c29c8a093977cc35700d36131d 46512 nbd-client_2.9.15-2_amd64.deb
fd0a0bf9dfbee9bc4c3343879ceddaed8dfa1d7c 6586
nbd-client-udeb_2.9.15-2_amd64.udeb
Checksums-Sha256:
e0228df3f6f729210300cde60b43cbc35ef88a91aa92f5dd9a1722db58c65a9f 1133
nbd_2.9.15-2.dsc
04a5214981b0ea3d935ff6db97e5232799185a2aaa893206cfb42edf1623b913 68236
nbd_2.9.15-2.diff.gz
1bbd3d9eb3e5aa10422fd01374750b2da262a2133341df4ff55b2a4bab33e990 57508
nbd-server_2.9.15-2_amd64.deb
d61c5b58a3c63156e388d814e5f7c92e427983bb2a810ecb30a3b5f65aa64c81 46512
nbd-client_2.9.15-2_amd64.deb
8e0cddf486bb0969c106fa774a54d2c85f7e138785af6e7eeeaa327cf0397030 6586
nbd-client-udeb_2.9.15-2_amd64.udeb
Files:
db6b5f9a304416594dbec7886c767a67 1133 admin optional nbd_2.9.15-2.dsc
62fac3dbb1109e0a8981fad62bd4251e 68236 admin optional nbd_2.9.15-2.diff.gz
bdf39c1cc7de696d59b45b767ba1b7de 57508 admin optional
nbd-server_2.9.15-2_amd64.deb
9646e97cd0ca1f663d62b39c4c3aedad 46512 admin optional
nbd-client_2.9.15-2_amd64.deb
22d1ad874a811b84ffd620b22727674c 6586 debian-installer optional
nbd-client-udeb_2.9.15-2_amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkvETnkACgkQhbxvHru886yRqACfblw6E0KCA5i++3QVnZ/n+T+c
iu4AnjjqNcvf3dZ9hLiSAko48dpj6xEz
=nOhf
-----END PGP SIGNATURE-----
--- End Message ---