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

Bug#498385: marked as done (Using LH_BOOTSTRAP="copy" makes live-helper screw up the host system)



Your message dated Fri, 19 Sep 2008 12:32:05 +0000
with message-id <E1Kgf9Z-0007Z4-Ri@ries.debian.org>
and subject line Bug#498385: fixed in live-helper 1.0.1-1
has caused the Debian Bug report #498385,
regarding Using LH_BOOTSTRAP="copy" makes live-helper screw up the host system
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.)


-- 
498385: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498385
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: Using LH_BOOTSTRAP="copy" makes live-helper screw up the host system
Package: live-helper
Version: 1.0.0+20080903.215656
Severity: critical
Justification: causes serious data loss

*** Please type your report below this line ***

Hello,

the LH_BOOTSTRAP="copy" option of live-helper is broken. If used, the
chroot will be created with the following command:

find / ! -name /proc ! -name /sys ! -name "$(dirname ${PWD})" | xargs cp
-a chroot

(/usr/bin/lh_bootstrap_copy, line 54).

I think the intention of this command was to copy the host system into
the chroot. But in fact it copies some files from the host system to
some other location in the host system. Afterwards it is very hard to
detect what files were copied where.

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-helper depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  gettext-base                  0.17-3     GNU Internationalization utilities

live-helper recommends no packages.

Versions of packages live-helper suggests:
ii  dosfstools               2.11-6          utilities for making and checking
ii  fakeroot                 1.9.5           Gives a fake root environment
ii  genisoimage              9:1.1.8-1+b1    Creates ISO-9660 CD-ROM filesystem
ii  grub                     0.97-47         GRand Unified Bootloader (Legacy v
ii  memtest86+               2.01-1          thorough real-mode memory tester
ii  mtools                   3.9.11-1        Tools for manipulating MSDOS files
pn  parted                   <none>          (no description available)
ii  squashfs-tools           1:3.3-3+3.2r2-9 Tool to create and append to squas
ii  sudo                     1.6.9p17-1      Provide limited super user privile
ii  syslinux                 2:3.71+dfsg-3   Kernel loader which uses a FAT, ex
ii  uuid-runtime             1.41.0-3        universally unique id library
pn  win32-loader             <none>          (no description available)

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: live-helper
Source-Version: 1.0.1-1

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

live-helper_1.0.1-1.diff.gz
  to pool/main/l/live-helper/live-helper_1.0.1-1.diff.gz
live-helper_1.0.1-1.dsc
  to pool/main/l/live-helper/live-helper_1.0.1-1.dsc
live-helper_1.0.1-1_all.deb
  to pool/main/l/live-helper/live-helper_1.0.1-1_all.deb
live-helper_1.0.1.orig.tar.gz
  to pool/main/l/live-helper/live-helper_1.0.1.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 498385@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-helper 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: Fri, 19 Sep 2008 14:00:00 +0200
Source: live-helper
Binary: live-helper
Architecture: source all
Version: 1.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Live <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-helper - Debian Live build scripts
Closes: 498385 498531
Changes: 
 live-helper (1.0.1-1) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * Improve architecture auto-detection.
   * mksquashfs in Lenny supports -no-progress, so remove (broken) check.
   * Standardise on appending " (fail-safe mode)" for all bootloaders.
   * Use cp's "-T" option instead of shell globbing to ensure dotfiles in the
     binary image's / are copied.
   * Add "/.disk" metadata on usb-hdd images.
   * Unmount chroot/dev.tmp/pts filestems created by lh_binary_usb-hdd in
     lh_clean.
   * Additionally unmount chroot/binary.tmp in lh_clean --chroot.
   * Refactor partition size calculation, ensuring a uniform increase for ext
     partitions.
   * Warn when using syslinux with a non-FAT LH_BINARY_FILESYSTEM.
   * Use tar to perform lh_bootstrap_copy (Closes: #498385)
   * Add silo to sparc source package selection.
   * Correcting package name "dd_rescue" -> "ddrescue".
   * Correcting package names for "madwifi", only installing if non-free
     selected.
   * Removing packages from rescue list where they 'Conflict:' with each other.
   * Fix handling of --version and getopt program name.
 .
   [ Daniel Baumann ]
   * Adding support for squeeze (lenny+1).
   * Don't install more than one kernel image when building minimal or stripped
     images.
   * Removing currently unused Upstream-Depends field in control.
   * Making gettext depends unversioned.
   * Fixing a chicken-egg problem with package indices when using
     minimal/stripped list *and* including local-packages.
   * Adding color functions for future usage.
   * Adding cursor functions for future usage.
   * Updating vcs fields in control file.
   * Applying patch from Ian Jackson <ian@davenant.greenend.org.uk> to update
     package selection of the rescue list.
   * Removing unsupported, unmaintained and unused knoppix package lists.
   * Adding syslinux-common to rescue list.
   * Adding scalpel to rescue list as suggested by Mathieu Geli
     <mathieu.geli@gmail.com>.
   * Correcting typo with if/endif statements in the rescue list.
   * Removing alsa-oss from standard-x11 package list, this should not really be
     in a default list.
   * Adding posh and dash to devel-live packages list.
   * Not including syslinux-common on lenny just yet, it still neds 1.5 days to
     migrate.
   * Adding rescue flavour to autobuild images.
   * Always using apt to install keyring packages (Closes: #498531).
   * Correcting wrong logic in lh_cleans check for beeing in the config directory
     or not (in order to prevent accidental cleaning by the user).
   * Automatically enforcing fat32 on usb-hdd when detecting files bigger than
     2GB.
   * Automatically enforcing fat32 on usb-hdd when detecting partitions bigger
     than 2GB.
   * Simplyfing partition size check when enforcing fat32.
   * Removing example hook for qemu-launcher, this is now in the archive as
     autorun4linuxcd package.
   * Adding example hook to update initramfs.
   * Updating cursor.sh with additional functions.
   * Re-including syslinux-common for lenny in the rescue list.
   * Adding lxde list, thanks to Kam Salisbury <kam@kamsalisbury.com>.
   * Adding moreutils to rescue list.
   * Adding scripts directory to to include custom helper scripts.
   * Removing sbm, not needed anymore.
 .
   [ Mathieu Geli ]
   * Correcting some little glitches building with the rescue list.
 .
   [ Marco Amadori ]
   * Splitted "longoptions" in various lines.
Checksums-Sha1: 
 6dd3e6a582693dc84606dc2dc0162ebb4443aa8d 1239 live-helper_1.0.1-1.dsc
 d3dbe882bf6464dcfc9beaea9aae7ed7a64ab7a7 1921564 live-helper_1.0.1.orig.tar.gz
 3198ddb71a4299b50f7a021689266fc5a1eda20b 20041 live-helper_1.0.1-1.diff.gz
 bedd6c01a4e48223b70cb63a1a8e9ac801ff493d 1853782 live-helper_1.0.1-1_all.deb
Checksums-Sha256: 
 b4091b43099dd020c48a51cf5555e6aac096812e0dfb3b7a1ec9f5302b8a495c 1239 live-helper_1.0.1-1.dsc
 f6de8a877047ac34067212b71c96273233bff81ac9a3a179f94ea07812309e8b 1921564 live-helper_1.0.1.orig.tar.gz
 3c88c9574a9d2598508207bd42abdba09f4ccc44d67f9ff46c4b319b444d2666 20041 live-helper_1.0.1-1.diff.gz
 4069d3be67e7cabf4653e644a0eacffb08227cda009110d03a844ccd101b9472 1853782 live-helper_1.0.1-1_all.deb
Files: 
 70a25531dccfb79926d0fd992fdaf63a 1239 misc optional live-helper_1.0.1-1.dsc
 8b037b6d9d047b37a8dd1e4cf9b7dccc 1921564 misc optional live-helper_1.0.1.orig.tar.gz
 a5e7970f4c0ee54ad6191f01743551ca 20041 misc optional live-helper_1.0.1-1.diff.gz
 43c4e345c4b198e94971f6dfaad97afa 1853782 misc optional live-helper_1.0.1-1_all.deb

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

iEYEARECAAYFAkjTmUYACgkQ+C5cwEsrK57cogCfZKgafFM2MkNPA6On1WBbw1bj
yd0AoI9cjBUy9IbhAXfQIC3oDOSPw5Tk
=2o3I
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: