[buildd-tools-devel] Bug#567932: schroot: chroot failed, cleaned up my host /etc

Hamish Moffatt hamish at debian.org
Mon Feb 1 10:22:00 UTC 2010


Package: schroot
Version: 1.4.0-1
Severity: critical
Justification: causes serious data loss

I upgraded schroot from 1.2.3-1+b1 to 1.4.0-1, which wanted to replace
some config files, which I have customised. I declined, intending to fix
it later.

I started an schroot into an old sid 32-bit chroot (from my sid 64-bit
host), and didn't notice any error messages, but found I was still
running 64-bit binaries. I think the actual chroot() failed.

Later after exitting, I found that a bunch of files in /etc were now
empty: passwd, group, shadow, hosts, protocols, services.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages schroot depends on:
ii  libboost-filesystem1.40.0    1.40.0-6+b1 filesystem operations (portable pa
ii  libboost-program-options1.40 1.40.0-6+b1 program options library for C++
ii  libboost-regex1.40.0         1.40.0-6+b1 regular expression library for C++
ii  libboost-system1.40.0        1.40.0-6+b1 Operating system (e.g. diagnostics
ii  libc6                        2.10.2-5    Embedded GNU C Library: Shared lib
ii  libgcc1                      1:4.4.3-1   GCC support library
ii  liblockdev1                  1.0.3-1.3   Run-time shared library for lockin
ii  libpam0g                     1.1.0-4     Pluggable Authentication Modules l
ii  libstdc++6                   4.4.3-1     The GNU Standard C++ Library v3
ii  libuuid1                     2.16.2-0    Universally Unique ID library
ii  schroot-common               1.4.0-1     common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-module <none>     (no description available)
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system
ii  lvm2                          2.02.54-1  The Linux Logical Volume Manager
ii  unzip                         6.0-1      De-archiver for .zip files

-- no debconf information





More information about the Buildd-tools-devel mailing list