Your message dated Wed, 02 Apr 2008 14:47:09 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#471591: fixed in nbd 1:2.9.10-1 has caused the Debian Bug report #471591, regarding nbdroot: get nbdsrv from DHCP if not specified 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.) -- 471591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471591 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: nbd-client Version: 1:2.9.9-6 Severity: wishlist Tags: patch the following patch provides the ability to specify just the nbdport at the boot prompt, and getting the server ip address from DHCP. this makes it possible to server the same read-only image on multiple networks without having to configure boot options on all machines. --- /usr/share/initramfs-tools/scripts/local-top/nbd 2008-01-26 07:22:29.000000000 -0800 +++ nbd 2008-03-18 23:16:15.000000000 -0700 @@ -18,14 +18,19 @@ nbdsrv=$(echo "$nbdroot" | sed -e "s/,[^,]*$//") nbdport=$(echo "$nbdroot" | sed -e "s/^[^,]*,//") ;; + nbdport=*) + nbdport="${x#nbdport=}" + ;; + nbdsrv=*) + nbdsrv="${x#nbdsrv=}" + ;; ip=*) IPOPTS="${x#ip=}" ;; esac done -if [ -z "$nbdroot" ] -then +if [ -z "$nbdport" ]; then log_failure_msg "Insufficient information to set up nbd, quitting (nbdsrv=$nbdsrv nbdport=$nbdport nbdroot=$nbdroot)" exit 0 fi @@ -33,6 +38,19 @@ DEVICE=eth0 configure_networking + +if [ -z "$nbdsrv" ] +then + # get server from DHCP + nbdsrv=${ROOTSERVER} +fi + +if [ -z "$nbdsrv" ] +then + log_failure_msg "Insufficient information to set up nbd, quitting (nbdsrv=$nbdsrv nbdport=$nbdport nbdroot=$nbdroot)" + exit 0 +fi + /sbin/nbd-client $nbdsrv $nbdport /dev/nbd0 -persist # This should be removed once the cfq scheduler no longer deadlocks nbd # devices thanks for your work on nbd! live well, vagrant p.s. what's the -persist option for nbd-client do?
--- End Message ---
--- Begin Message ---Source: nbd Source-Version: 1:2.9.10-1 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.10-1_powerpc.udeb to pool/main/n/nbd/nbd-client-udeb_2.9.10-1_powerpc.udeb nbd-client_2.9.10-1_powerpc.deb to pool/main/n/nbd/nbd-client_2.9.10-1_powerpc.deb nbd-server_2.9.10-1_powerpc.deb to pool/main/n/nbd/nbd-server_2.9.10-1_powerpc.deb nbd_2.9.10-1.diff.gz to pool/main/n/nbd/nbd_2.9.10-1.diff.gz nbd_2.9.10-1.dsc to pool/main/n/nbd/nbd_2.9.10-1.dsc nbd_2.9.10.orig.tar.gz to pool/main/n/nbd/nbd_2.9.10.orig.tar.gz 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: Wed, 02 Apr 2008 16:09:18 +0200 Source: nbd Binary: nbd-server nbd-client nbd-client-udeb Architecture: source powerpc Version: 1:2.9.10-1 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 (udeb) nbd-server - the Network Block Device server Closes: 470851 471269 471591 471592 471712 Changes: nbd (1:2.9.10-1) unstable; urgency=low . * New upstream release - New '-c' option to check whether a device is active; Closes: #471712. - No longer wakes up 100 times per second; Closes: #471269. - No longer requires write access to the base file with copy-on-write option. Closes: #470851. * Changes to initramfs script: - Get the NBD server name from DHCP if not otherwise specified; Closes: #471591. - Use the device that is specified on the root= parameter to set up the nbd device, rather than hardcoding it to nbd0. Closes: #471592. Files: 5906039d10368e741da793c8fdb9fd11 606 admin optional nbd_2.9.10-1.dsc 3c0e03185b319b540a1287316ecbb628 214695 admin optional nbd_2.9.10.orig.tar.gz 2b09323ec8f19f0c49a102370abf1256 51241 admin optional nbd_2.9.10-1.diff.gz 8698f0d3432975a2607891f33f584b09 53648 admin optional nbd-server_2.9.10-1_powerpc.deb 888f5f112d4b9a5200cf0c680e00de12 41764 admin optional nbd-client_2.9.10-1_powerpc.deb 2146b4114ab56db5266338f4844b41b9 7154 debian-installer optional nbd-client-udeb_2.9.10-1_powerpc.udeb Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH85Z8PfwsYq950p4RAp5UAJ9JYjorvmROhFnQoJtG+gsemvzZnQCglj0r 6pvsX6NsBibWY5/xqxPYexY= =Ztub -----END PGP SIGNATURE-----
--- End Message ---

