[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385226: marked as done (initramfs-tools: no need to set SERVER_IP in scripts/nfs)



Your message dated Mon, 04 Sep 2006 10:47:02 -0700
with message-id <E1GKIXG-00074s-Or@spohr.debian.org>
and subject line Bug#385226: fixed in initramfs-tools 0.78
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: initramfs-tools
Version: 0.77
Severity: minor

i believe ipconfig defines ROOTSERVER when it is passed via the ip=
parameter, and thus it's not necessary to re-implement this code with
SERVER_IP in initramfs-tools/scripts/nfs

attached is a patch which removes this extra code.

also available from:

http://llama.freegeek.org/~vagrant/bzr-archives/initramfs-tools/vagrant-initramfs-tools

live well,
  vagrant
=== modified file 'scripts/nfs'
--- scripts/nfs	
+++ scripts/nfs	
@@ -26,9 +26,6 @@
 			if [ -n "${NEW_DEVICE}" ]; then
 				DEVICE="${NEW_DEVICE}"
 			fi
-			# grab server-ip
-			SERVER_IP=${IPOPTS#*:}
-			SERVER_IP=${SERVER_IP%:*:*:*:*:*:*}
 			;;
 	esac
 			
@@ -45,13 +42,10 @@
 			NFSOPTS="-o ${NFSROOT#*,}"
 		fi
 		NFSROOT=${NFSROOT%%,*}
-		# server-ip could be passed by ip
+		# rootserver could be passed by dhcp,
+		# with NFSROOT being only root-dir
 		if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then
-			if [ -n "${SERVER_IP}" ]; then
-				NFSROOT="${SERVER_IP}:${NFSROOT}"
-			else
-				NFSROOT=${ROOTSERVER}:${ROOTPATH}
-			fi
+			NFSROOT=${ROOTSERVER}:${NFSROOT}
 		fi
 	fi
 


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.78

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.78.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.78.dsc
initramfs-tools_0.78.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.78.tar.gz
initramfs-tools_0.78_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.78_all.deb



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 385226@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  4 Sep 2006 17:38:13 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.78
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 384967 385226 385252 385281 385624 385641
Changes: 
 initramfs-tools (0.78) unstable; urgency=medium
 .
   * update-initramfs: Check in call_lilo() if /sbin/lilo is executable,
     when /etc/lilo.conf exists (closes: 384967) - thus urgency medium.
 .
   * init: Guard all dirs against creation. (closes: 385281)
 .
   * debian/scripts: Add /etc/kernel-img.conf section, as update-initramfs
     needs to act according to it.
 .
   * scripts/nfs: Fix parsing of etherboot ip options. Based on a patch by
     to Vagrant Cascadian <vagrant+bugs@freegeek.org>. (closes: 385252)
 .
   * scripts/nfs: No need to duplicate work of ntfsmount. Thanks for the patch
     to  Vagrant Cascadian <vagrant+bugs@freegeek.org>. (closes: 385226)
 .
   * scripts/nfs: Add an sleep 0.1 in the retry loop to slow down retry
     attempts. Only log "Retrying .." after first run. Use init variable.
     (closes: 385624)
 .
   * init: Reorder the early mknod after tmpfs mount. (closes: 385641)
 .
   * initramfs.conf.5, mkinitramfs, scripts/local, scripts/local-top/mdrun,
     scripts/nfs, update-initramfs.8, debian/changelog: Whitespace policy.
Files: 
 48b266caef6741c9300ae6906935f584 623 utils optional initramfs-tools_0.78.dsc
 7a365ed4662482cec65ef1dd90bf9801 49450 utils optional initramfs-tools_0.78.tar.gz
 d97e7fdf4901eb5886b63b48b3e12089 55206 utils optional initramfs-tools_0.78_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE/GZL6n7So0GVSSARAtDIAJ40Ecl7f9IaSWHSNeNnBuwXf7R7hQCfR/fR
yC3zAjdDvbDEOZK1gwKCRB4=
=7ao4
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: