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

Bug#681579: marked as done (live-boot + FAI fails: tmpfs seems to hide mounted image)



Your message dated Thu, 16 Aug 2012 10:32:43 +0000
with message-id <E1T1xNb-0000zH-5O@franck.debian.org>
and subject line Bug#681579: fixed in live-boot 3.0~b1-1
has caused the Debian Bug report #681579,
regarding live-boot + FAI fails: tmpfs seems to hide mounted image
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
immediately.)


-- 
681579: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681579
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-boot
Severity: important

Dear everybody,

I described the situation already on the live-boot mailing list in
this thread:
     <URL:https://lists.debian.org/debian-live/2012/07/msg00052.html>

Bisecting [1] the code showed that the bad commit is f92f379a6e868bc [2]

The relevant part seems to be:

-	mkdir -p /overlay
+	# tmpfs file systems
+	touch /etc/fstab
+	mkdir -p /live
+	mount -t tmpfs tmpfs /live
+	mkdir -p /live/overlay

I am not familiar with the code, but the tmpfs seems to hide the cd-image
which is mounted at /live/image.  Trying to mount aufs fails, there is
no /live/image accessible anymore.  To test this hypothesis, I added
two lines after the tmpfs setup:

root@wheezy:~/live-boot# git diff
diff --git a/scripts/live b/scripts/live
index af8c12e..9eb37b2 100755
--- a/scripts/live
+++ b/scripts/live
@@ -957,6 +958,8 @@ setup_unionfs ()
        mkdir -p /live
        mount -t tmpfs tmpfs /live
        mkdir -p /live/overlay
+       mkdir -p /live/image
+       mount /dev/sr0 /live/image

        # Looking for persistence devices or files
        if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]

With this modification, live-boot works again as expected and the
problem with aufs vanishes.

I hope this observations help solving the issue in time for wheezy.

Best regards,

     Andi


[1] <URL:https://lists.debian.org/debian-live/2012/07/msg00091.html>
[2] <URL:http://live.debian.net/gitweb?p=live-boot.git;a=commitdiff;h=f92f379a6e868bc486c050ff5ca81c1707da7374>


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: live-boot
Source-Version: 3.0~b1-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
attached.

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

Debian distribution maintenance software
pp.
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)


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

Format: 1.8
Date: Thu, 16 Aug 2012 12:21:04 +0200
Source: live-boot
Binary: live-boot live-boot-doc live-boot-initramfs-tools
Architecture: source all
Version: 3.0~b1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 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: 681579 683240
Changes: 
 live-boot (3.0~b1-1) unstable; urgency=low
 .
   [ chals ]
   * Fixing build error in 'es' man pages caused by a newline conflict.
 .
   [ Daniel Baumann ]
   * Removing live-new-uuid, a rewritten one goes to live-tools.
   * Adding slightly modified patch from Steven Shiau
     <steven@nchc.org.tw> to transition to /run for network interface
     definition files which fixes resolv.conf creation for netboot.
 .
   [ Steven Shiau ]
   * Reading /conf/param.conf after Select_eth_device in main function to
     fix network booting (Closes: #683240).
 .
   [ Daniel Baumann ]
   * Moving reading of initramfs-tools functions to initramfs-tools
     script.
   * Consistently using case instead of if for conditionals in script
     boilerplate.
   * Laying tmpfs on /live/overlay only during initramfs stage, fixes
     boot failure with plain filesystems (Closes: #681579).
   * Correcting DNS inclusion in initramfs-tools hook, thanks to Steven
     Shiau <steven@nchc.org.tw> for reporting.
   * Simplifying usage of copy_exec function from hooks-function in
     initramfs-tools hook.
   * Using /etc/live/boot/*.conf instead of /etc/live/boot.d/*.conf and
     /live/image/live/boot/*.conf instead of
     /live/image/live/boot.d/*.conf for consistency reasons.
   * Reading configuration file from filesystem and live-media at runtime
     too.
   * Reading configuration files in initramfs-tools hook too.
 .
   [ Steven Shiau ]
   * Adding support for nameserver in ip= boot parameter.
 .
   [ Daniel Baumann ]
   * Making nameserver assignment from ip= bootparameter work with
     persistence.
   * Correcting permissions of /tmp which apparently somehow get mixed up
     along the way.
   * Updating scripts readme about transition to plugin based
     architecture.
Checksums-Sha1: 
 bc206822cfe435fa0fe9fa6fd6ac6f32c91019f4 1376 live-boot_3.0~b1-1.dsc
 ba3e237a5cbeb008b74801e619751d909d1824b0 59168 live-boot_3.0~b1.orig.tar.xz
 281909b5b385d8daf21a34ecfb48fbbeeac146c4 20828 live-boot_3.0~b1-1.debian.tar.xz
 5c995f8fa649551acf3114ca84e5b270c19a6cee 46452 live-boot_3.0~b1-1_all.deb
 6fd54f17076705b416d0471122dbeee4a92a66e0 50348 live-boot-doc_3.0~b1-1_all.deb
 d73f7394f2f3187e4c1351c40d0ecd48e7d1fdd5 24638 live-boot-initramfs-tools_3.0~b1-1_all.deb
Checksums-Sha256: 
 780f663acd95e9019669a7b0d0826ee4248a4151a715e4c24be308dfa77f18d3 1376 live-boot_3.0~b1-1.dsc
 186f72d7cf1032faac4280c80cfab67a261ea3aea31c2f8fb725b928a71ff0ad 59168 live-boot_3.0~b1.orig.tar.xz
 cc0317eb0d80444f8b778ce8b2fe51f2a77cbd076270918038e74ac16e1d9547 20828 live-boot_3.0~b1-1.debian.tar.xz
 82f8693326ba62f27a3083db2f1664356ab66e6047448b35bdfca12d37b4f211 46452 live-boot_3.0~b1-1_all.deb
 7c23bf688f17c8c45a9879f2b12563e7a434e823a5c26f4a710f19eceb42c24e 50348 live-boot-doc_3.0~b1-1_all.deb
 2906d3337262845ecdcbdc59db7982b35e23f0e9713ac19cacfb5365767a4302 24638 live-boot-initramfs-tools_3.0~b1-1_all.deb
Files: 
 8c2ec527c5cbe7fc8988d425d0e653cf 1376 misc optional live-boot_3.0~b1-1.dsc
 e6303d2bc2d7b7aa63c323760abede96 59168 misc optional live-boot_3.0~b1.orig.tar.xz
 048ebef189a521c9ca96bfdfba4ad66d 20828 misc optional live-boot_3.0~b1-1.debian.tar.xz
 fd4e19856800da47c2b38b0e8a7ea1d3 46452 misc optional live-boot_3.0~b1-1_all.deb
 1497e01462b6d5b8b3e62d8d506ef505 50348 doc optional live-boot-doc_3.0~b1-1_all.deb
 ee0c8f421c30fff0a3a9608508efe87a 24638 misc optional live-boot-initramfs-tools_3.0~b1-1_all.deb

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

iEYEARECAAYFAlAsy1sACgkQ+C5cwEsrK57LfgCdFlZ6MgzcvxZKjbhEHLX6kihU
N8gAn2PoLS20bPMc7zkO8trGTH+p2X+i
=TzIU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: