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

Bug#377643: marked as done (initramfs-tools: Should retry if nfsmount fails.)



Your message dated Tue, 29 Aug 2006 09:17:04 -0700
with message-id <E1GI6Gu-0002Xl-2X@spohr.debian.org>
and subject line Bug#377643: fixed in initramfs-tools 0.77
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.67
Severity: important

For some reason my diskless system seems to fail to boot every other time.
I get time-out messages from nfsroot and then the /init script dumps me
into a debug shell when it can't find /root/sbin/init.

I don't know the cause of the mount failure (see bug 359926 which has the
same symptoms) but rebooting usually works.

I think putting the dhcp...mount part in a loop would be the right thing,
network services are unreliable so failure must be an option. I don't think
this should go in the /init script since a failure to boot from local disk
is probably not going to fix itself. It should go in /scripts/nfs and could
be something like:

while true
do
  ipconfig ${DEVICE}
  . /tmp/net-${DEVICE}.conf
  if [ "x${NFSROOT}" = "xauto" ]; then
    NFSROOT=${ROOTSERVER}:${ROOTPATH}
  fi
  ...
  nfsmount ${roflag} ${NFSOPTS} ${NFSROOT} ${rootmnt} && break
done

assuming that nfsmount has a useful return code.

Cheers,
Tim.

P.S. I'm using dchp3-server to provide DHCP information.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-15     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.3.35-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


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

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.77.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.77.dsc
initramfs-tools_0.77.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.77.tar.gz
initramfs-tools_0.77_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.77_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 377643@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: Fri, 25 Aug 2006 16:55:56 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.77
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: 340494 377643
Changes: 
 initramfs-tools (0.77) unstable; urgency=medium
 .
   * mkinitramfs, scripts/local-top/mdrun: Use mdrun.conf as config file.
     Ship mdrun unconditionally if around, should help in recovery situations.
 .
   * debian/initramfs-tools.postinst, hook-functions, mkinitramfs,
     scripts/local, update-initramfs: Cleanup the "-a" and "-o" bashism.
 .
   * scripts/nfs: Retry to mount NFS on eventual failure. (closes: 377643)
     Based on a patch by Vagrant Cascadian <vagrant+bugs@freegeek.org>.
 .
   * init: Make sure there is an /dev and /root. Usually passed by the kernel.
     Also /dev/null or /dev/console might already be shipped.
     Based on a patch by David Härdeman <david@2gen.com>. (closes: 340494)
 .
   * scripts/local-top/lvm: Fix prereqs s/mdraid/mdrun, thus urgency medium.
     Thanks Rainer Gauweiler <debian@moppl.inka.de> for the notice.
Files: 
 d3a90e2aca8e19e369b24a55aa6bcec5 623 utils optional initramfs-tools_0.77.dsc
 fd02b4400890a1c38213adedc8d726fc 49053 utils optional initramfs-tools_0.77.tar.gz
 07b8fc18165a46c4e53068b60f1b0972 54754 utils optional initramfs-tools_0.77_all.deb

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

iD8DBQFE9GWk6n7So0GVSSARAnkgAKCUHtyJMIVqnUAh4Vu+tdi9jD96sQCfW5um
1bPGW7YHI9+eLZJdE/3gBTg=
=JQbk
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: