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

Bug#685375: marked as done (breaks booting with nfsroot)

Your message dated Sun, 30 Sep 2012 08:47:34 +0000
with message-id <E1TIFBW-00085G-6n@franck.debian.org>
and subject line Bug#685375: fixed in live-boot 3.0~b5-1
has caused the Debian Bug report #685375,
regarding breaks booting with nfsroot
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 owner@bugs.debian.org

685375: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685375
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-boot
Version: 3.0~b1-1
Severity: normal


I'm trying to setup a FAI netbooting environment, which uses live-boot
for booting the installation system via NFS. As union filesystem, I'm
using overlayfs by using the union=overlayfs kernel commandline parameter.

the live-boot scripts all seem to run as expected. However, in the last
stage, run-init fails with this error message:

run-init: nuking initramfs contents: Directory not empty.
Kernel panic - not syncing: Attempted to kill init! [...]

By booting with 'break=init', I could verify that /root is fully in
place, that is, all bind mounts succeeded. However, a "rm -rf
/live/overlayfs" fails with "Device busy". If I manually 'umount
/tmp/overlayfs', the boot process continues successfully.

While reading the commit logs, I noticed this commit:


Laying tmpfs on /live/overlay only during initramfs stage, fixes boot
failure with plain filesystems (Closes: #681579).

diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index cb12c4b..00c53c8 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -155,9 +155,8 @@ setup_unionfs ()
        # tmpfs file systems
        touch /etc/fstab
-       mkdir -p /live
-       mount -t tmpfs tmpfs /live
        mkdir -p /live/overlay
+       mount -t tmpfs tmpfs /live/overlay
        # Looking for persistence devices or files
        if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]

It seems to me that when you mount the tmpfs in /live/overlay, you need
to umount it before booting manually as well, that is, after
bind-mounting /live to the final boot location.


--- End Message ---
--- Begin Message ---
Source: live-boot
Source-Version: 3.0~b5-1

We believe that the bug you reported is fixed in the latest version of
live-boot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 685375@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel@debian.org> (supplier of updated live-boot 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)

Hash: SHA1

Format: 1.8
Date: Sun, 30 Sep 2012 10:07:09 +0200
Source: live-boot
Binary: live-boot live-boot-doc live-boot-initramfs-tools
Architecture: source all
Version: 3.0~b5-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
 live-boot  - Debian Live - System Boot Scripts
 live-boot-doc - Debian Live - System Boot Scripts (documentation)
 live-boot-initramfs-tools - Debian Live - System Boot Scripts (initramfs-tools backend)
Closes: 685375
 live-boot (3.0~b5-1) unstable; urgency=low
   * Updating to standards version 3.9.4.
   * Removing showmounts option as it's enable always anyway.
   * Applying slightly modified patch from Reinhard Tartler
     <siretart@tauware.de> to ensure that a potentially stray tmpfs on
     /live/overlay gets removed to fix netboot failures (Closes:
 ed5bdb265a3e41f95110cf06f680cf4406e7b92c 1376 live-boot_3.0~b5-1.dsc
 e94a5b5da00b63115942485c0259373aaf79e501 58744 live-boot_3.0~b5.orig.tar.xz
 f29c5f6105420231a9a0c17e67b043da0c31b5e0 21352 live-boot_3.0~b5-1.debian.tar.xz
 eb6e5654e33d805b95cc747ea43ec80b18051444 47072 live-boot_3.0~b5-1_all.deb
 f514753c8a3f3fb2710d05364335f26748e81ac1 50776 live-boot-doc_3.0~b5-1_all.deb
 4014d9d29683f98ba455cbb3b5934af69c323511 25122 live-boot-initramfs-tools_3.0~b5-1_all.deb
 964f506db79158b5d4085ef474654aa67c05491921fcdb77f10cb7a5be7a03d2 1376 live-boot_3.0~b5-1.dsc
 110f80f37e1b12774a9eef889087828d79a2bf9f6dc90991c9aaa1c07b68518e 58744 live-boot_3.0~b5.orig.tar.xz
 286b4e252216165802b111c10709afcb811fa848933c0810a35dca2557302cae 21352 live-boot_3.0~b5-1.debian.tar.xz
 befce6a92e98916a8032ec29c654f49ace648ee5a5178c2c035040b2247fc4b2 47072 live-boot_3.0~b5-1_all.deb
 d9c57ced4872cb7dff97562dc674a8fd5b3920aae268be28ab8eb7c95b4db4a0 50776 live-boot-doc_3.0~b5-1_all.deb
 8c6e5a16d6b8313e7dca5f0cd1cdeab14614647fd7c729dc79c046b643df22de 25122 live-boot-initramfs-tools_3.0~b5-1_all.deb
 6ba4e6ea6117aeb8243d9b391a045d91 1376 misc optional live-boot_3.0~b5-1.dsc
 b1bdb584bb8d4765fc290e16270e66ef 58744 misc optional live-boot_3.0~b5.orig.tar.xz
 05dc3c16bd8d6effe294997079cc32f5 21352 misc optional live-boot_3.0~b5-1.debian.tar.xz
 72e784c786158bb484701f2ffd8057b1 47072 misc optional live-boot_3.0~b5-1_all.deb
 560e5ee4ccf585a0780642053bb1acf8 50776 doc optional live-boot-doc_3.0~b5-1_all.deb
 51b9579b5255b1daad66590909639360 25122 misc optional live-boot-initramfs-tools_3.0~b5-1_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: