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

Bug#498385: Using LH_BOOTSTRAP="copy" makes live-helper screw up the host system



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


Reply to: