[buildd-tools-devel] Bug#587757: schroot - Fails to end btrfs-snapshot sessions

Bastian Blank waldi at debian.org
Thu Jul 1 12:42:10 UTC 2010


Package: schroot
Version: 1.4.5-1
Severity: important

schroot fails to end persistent btrfs-snapshot sessions:
| # schroot -e --all-sessions --verbose
| I: 99check: AUTH_USER=root
| I: 99check: AUTH_RUSER=root
| I: 99check: AUTH_RGROUP=root
| I: 99check: AUTH_UID=0
| I: 99check: AUTH_GID=0
| I: 99check: AUTH_RUID=0
| I: 99check: AUTH_RGID=0
| I: 99check: AUTH_HOME=/root
| I: 99check: AUTH_SHELL=/bin/zsh
| I: 99check: VERBOSE=verbose
| I: 99check: MOUNT_DIR=/var/lib/schroot/mount
| I: 99check: LIBEXEC_DIR=/usr/lib/schroot
| I: 99check: PID=21802
| I: 99check: HOST=x86_64-pc-linux-gnu
| I: 99check: HOST_OS=linux-gnu
| I: 99check: HOST_VENDOR=pc
| I: 99check: HOST_CPU=x86_64
| I: 99check: PLATFORM=linux
| I: 99check: SESSION_ID=sid-amd64-session
| I: 99check: CHROOT_TYPE=btrfs-snapshot
| I: 99check: CHROOT_NAME=sid-amd64-session
| I: 99check: CHROOT_DESCRIPTION=Debian sid / amd64 (session chroot)
| I: 99check: CHROOT_SCRIPT_CONFIG=/etc/schroot/default/config
| I: 99check: CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/sid-amd64-session
| I: 99check: CHROOT_LOCATION=
| I: 99check: CHROOT_PATH=/var/lib/schroot/mount/sid-amd64-session
| I: 99check: CHROOT_BTRFS_SOURCE_SUBVOLUME=
| I: 99check: CHROOT_BTRFS_SNAPSHOT_DIRECTORY=%CHROOT_BTRFS_SNAPSHOT_DIRECTORY
| I: 99check: CHROOT_BTRFS_SNAPSHOT_NAME=/srv/chroot/sid/amd64/user/sessions/sid-amd64-session
| I: 99check: CHROOT_SESSION_CREATE=false
| I: 99check: CHROOT_SESSION_CLONE=false
| I: 99check: CHROOT_SESSION_PURGE=true
| I: 99check: FSTAB=/etc/schroot/default/fstab
| I: 99check: NSSDATABASES=/etc/schroot/default/nssdatabases
| I: 99check: Btrfs source subvolume directory '' does not exist
| E: sid-amd64-session: Chroot setup failed: stage=setup-stop

It is completely irrelevant that the source subvolume does not longer
exist to do the cleanup, it only matters for the session setup.

Bastian

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.42.0     1.42.0-3   filesystem operations (portable pa
ii  libboost-program-options1.42. 1.42.0-3   program options library for C++
ii  libboost-regex1.42.0          1.42.0-3   regular expression library for C++
ii  libboost-system1.42.0         1.42.0-3   Operating system (e.g. diagnostics
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-6  GCC support library
ii  liblockdev1                   1.0.3-1.4  Run-time shared library for lockin
ii  libpam0g                      1.1.1-3    Pluggable Authentication Modules l
ii  libstdc++6                    4.4.4-6    The GNU Standard C++ Library v3
ii  libuuid1                      2.17.2-3.1 Universally Unique ID library
ii  schroot-common                1.4.5-1    common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-m <none>          (no description available)
ii  btrfs-tools              0.19+20100601-3 Checksumming Copy on Write Filesys
pn  debootstrap              <none>          (no description available)
ii  lvm2                     2.02.66-2       The Linux Logical Volume Manager
ii  unzip                    6.0-4           De-archiver for .zip files

-- Configuration Files:
/etc/schroot/default/copyfiles changed [not included]
/etc/schroot/default/fstab changed [not included]
/etc/schroot/schroot.conf changed [not included]
/etc/schroot/setup.d/00check changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list