[Buildd-tools-devel] Bug#426416: schroot: Cannot umount "" on old chroots
Federico Di Gregorio
fog at debian.org
Mon May 28 16:30:19 UTC 2007
Package: schroot
Version: 1.1.3-1
Severity: normal
Tags: patch
Some days ago schroot begun to report the following error
E: sid32-61f1f291-86fe-40b1-b328-0de469e9ff98: Chroot setup failed:
stage=setup-stop
sid32-61f1f291-86fe-40b1-b328-0de469e9ff98Cannot umount ""
when ending old sessions after a reboot done with open sessions. The following
one-line patch fixes the problem by not trying to umount sessions that don't
have anything mounted.
--- 10mount 2007-05-28 18:16:50.000000000 +0200
+++ 10mount.new 2007-05-28 18:16:34.000000000 +0200
@@ -28,6 +28,7 @@
do_umount_all()
{
mounts="$("$LIBEXEC_DIR/schroot-listmounts" -m "$1")"
+ test -n "$mounts" || exit 0
echo "$mounts" |
while read mountloc; do
if [ "$AUTH_VERBOSITY" = "verbose" ]; then
Hope this helps,
federico
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages schroot depends on:
ii libboost 1.34.0-1 program options library for C++
ii libboost 1.34.0-1 regular expression library for C++
ii libc6 2.5-9 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20070525-1 GCC support library
ii liblockd 1.0.3-1.2 Run-time shared library for lockin
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libstdc+ 4.2-20070525-1 The GNU Standard C++ Library v3
ii libuuid1 1.39+1.40-WIP-2007.04.07+dfsg-2 universally unique id library
ii schroot- 1.1.3-1 common files for schroot
schroot recommends no packages.
-- no debconf information
More information about the Buildd-tools-devel
mailing list