Your message dated Mon, 10 Jan 2011 23:32:16 +0000
with message-id <e1pcrdk-0005ue...@franck.debian.org>
and subject line Bug#609108: fixed in schroot 1.4.18-1
has caused the Debian Bug report #609108,
regarding freebsd-utils: mount/umount have 80/85 character path limit breaking
mounting
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 ow...@bugs.debian.org
immediately.)
--
609108: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609108
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: schroot
Version: 1.4.16-1
Severity: important
On kfreebsd-*, schroot is not able to unmount everything if chroot name
is longer than 13 characters:
# schroot -c 123456789abcde echo Hello world
Hello world
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcde-e7de3ef4-e02c-430c-b9d9-0e4eb34f3bd0/dev/f
failed: Invalid argument
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcde-e7de3ef4-e02c-430c-b9d9-0e4eb34f3bd0/dev
failed: Device or resource busy
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcde-e7de3ef4-e02c-430c-b9d9-0e4eb34f3bd0
failed: Device or resource busy
E: 10mount: rmdir: failed to remove
`/var/lib/schroot/mount/123456789abcde-e7de3ef4-e02c-430c-b9d9-0e4eb34f3bd0':
Device or resource busy
E: 123456789abcde-e7de3ef4-e02c-430c-b9d9-0e4eb34f3bd0: Chroot setup failed:
stage=setup-stop
If the name is longer than 18 characters, it cannot even run a command:
# schroot -c 123456789abcdefghij echo Hello world
E: 10mount: mount: dev : File name too long
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcdefghij-cf720545-3204-4bda-93a8-82bbd3ac46ca/
failed: Invalid argument
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcdefghij-cf720545-3204-4bda-93a8-82bbd3ac46ca/
failed: Invalid argument
E: 10mount: umount: unmount of
/var/lib/schroot/mount/123456789abcdefghij-cf720545-3204-4bda-93a8-82bbd3ac46ca
failed: Device or resource busy
E: 10mount: rmdir: failed to remove
`/var/lib/schroot/mount/123456789abcdefghij-cf720545-3204-4bda-93a8-82bbd3ac46ca':
Device or resource busy
E: 123456789abcdefghij-cf720545-3204-4bda-93a8-82bbd3ac46ca: Chroot setup
failed: stage=setup-start
Given that e.g. sbuild-createchroot creates chroot named
"$SUITE-kfreebsd-$CPU-sbuild" (which is >= 23 characters), this is quite
an unfortunate limitation.
Also, please don't try my examples at home, because the only way to
unmount stuff mounted by schroot seems to be: put SESSIONS_RECOVER="end"
into /etc/default/schroot and reboot. :/
(debian-...@lists.debian.org CC-ed.)
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 8.1-1-686
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL
set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages schroot depends on:
ii libboost-filesystem1.42.0 1.42.0-4 filesystem operations (portable pa
ii libboost-program-options1.42. 1.42.0-4 program options library for C++
ii libboost-regex1.42.0 1.42.0-4 regular expression library for C++
ii libboost-system1.42.0 1.42.0-4 Operating system (e.g. diagnostics
ii libc0.1 2.11.2-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-10 GCC support library
ii liblockdev1 1.0.3-1.4 Run-time shared library for lockin
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libstdc++6 4.4.5-10 The GNU Standard C++ Library v3
ii libuuid1 2.17.2-5 Universally Unique ID library
ii schroot-common 1.4.16-1 common files for schroot
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-modules | unionfs-module <none> (no description available)
pn btrfs-tools <none> (no description available)
ii debootstrap 1.0.26 Bootstrap a basic Debian system
pn lvm2 <none> (no description available)
pn unzip <none> (no description available)
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
Source: schroot
Source-Version: 1.4.18-1
We believe that the bug you reported is fixed in the latest version of
schroot, which is due to be installed in the Debian FTP archive:
dchroot-dsa_1.4.18-1_amd64.deb
to main/s/schroot/dchroot-dsa_1.4.18-1_amd64.deb
dchroot_1.4.18-1_amd64.deb
to main/s/schroot/dchroot_1.4.18-1_amd64.deb
libsbuild-dev_1.4.18-1_amd64.deb
to main/s/schroot/libsbuild-dev_1.4.18-1_amd64.deb
libsbuild-doc_1.4.18-1_all.deb
to main/s/schroot/libsbuild-doc_1.4.18-1_all.deb
schroot-common_1.4.18-1_all.deb
to main/s/schroot/schroot-common_1.4.18-1_all.deb
schroot-dbg_1.4.18-1_amd64.deb
to main/s/schroot/schroot-dbg_1.4.18-1_amd64.deb
schroot_1.4.18-1.debian.tar.gz
to main/s/schroot/schroot_1.4.18-1.debian.tar.gz
schroot_1.4.18-1.dsc
to main/s/schroot/schroot_1.4.18-1.dsc
schroot_1.4.18-1_amd64.deb
to main/s/schroot/schroot_1.4.18-1_amd64.deb
schroot_1.4.18.orig.tar.bz2
to main/s/schroot/schroot_1.4.18.orig.tar.bz2
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 609...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roger Leigh <rle...@debian.org> (supplier of updated schroot 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Fri, 07 Jan 2011 14:49:31 +0000
Source: schroot
Binary: schroot-common libsbuild-dev schroot-dbg libsbuild-doc schroot dchroot
dchroot-dsa
Architecture: source all amd64
Version: 1.4.18-1
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers
<buildd-tools-de...@lists.alioth.debian.org>
Changed-By: Roger Leigh <rle...@debian.org>
Description:
dchroot - Execute commands in a chroot environment
dchroot-dsa - Execute commands in a chroot environment
libsbuild-dev - development files for the Debian source builder
libsbuild-doc - development documentation for the Debian source builder
schroot - Execute commands in a chroot environment
schroot-common - common files for schroot
schroot-dbg - schroot, dchroot and dchroot-dsa debuggging symbols
Closes: 609108
Changes:
schroot (1.4.18-1) unstable; urgency=low
.
* New upstream stable release.
* Disable the use of long UUIDs in automatically-generated session
names on kfreebsd kernels (Closes: #609108). Use the time and
process ID instead, which are far shorter than the UUID. This is
required due to FreeBSD kernels using fixed-length character arrays
in their struct statfs structure which limits the mount and umount
commands to paths less than 88 characters in length (80 in
practice). Disabling UUID support reduces the likelihood of mount
and umount failure when beginning and ending sessions, but can not
fix the underlying bug in FreeBSD. It can still be triggered if
long session names are used, or filesystems are mounted deep inside
the chroot directory hierarchy. Thanks to Guillem Jover, Julián
Moreno Patiño and Jakub Wilk for help fixing the configure script,
Debian packaging and testing.
* 50chrootname: Strip time+PID from session name in addition to UUID.
This sets /etc/debian_chroot correctly (without automatically
generated suffix) on kfreebsd platforms.
Checksums-Sha1:
aa1a1c5c0a8b7f8071f6bef8eae76f617f0c817e 1594 schroot_1.4.18-1.dsc
32154a8d3d836d8e6246885fff7e01b3b545d961 789160 schroot_1.4.18.orig.tar.bz2
1e57ec260f0777a1a5d8f575c41f707f55ce0b49 23090 schroot_1.4.18-1.debian.tar.gz
95fd001f4fcd1646e794d46eeac8ce21e8876a21 249586 schroot-common_1.4.18-1_all.deb
4663dc5abca94bf5f06b838322404605827adee8 7236228 libsbuild-doc_1.4.18-1_all.deb
7198baae73c18802ca556dd0081b659325ab4b53 1854574
libsbuild-dev_1.4.18-1_amd64.deb
2f089e80c9852410ad24833f9c5906b455f397f6 16471914
schroot-dbg_1.4.18-1_amd64.deb
77e2cf8791f4f61705f422199e6ed0353f4a9df2 916814 schroot_1.4.18-1_amd64.deb
4738aa0baf95ff3d101b02ed7c387ec39e27f354 402440 dchroot_1.4.18-1_amd64.deb
c16b59858acb309108cc1a6f7306806218692f63 402270 dchroot-dsa_1.4.18-1_amd64.deb
Checksums-Sha256:
bd4b553458a8a19e08faf8d89477c3488b268ad593309407bd5f14744658a358 1594
schroot_1.4.18-1.dsc
f04f5f8118a5f59a92fdc4f5cc3538ab49f56c8896de572b286437b993f3d383 789160
schroot_1.4.18.orig.tar.bz2
c31cdfd54282b5d10bf7ac548ff445445c80d7439b72a55cd93d0a7d7c8f34a6 23090
schroot_1.4.18-1.debian.tar.gz
690c72cc8485fffedbcb8afe1114ecc1939006120af1a0e35c7726297ae98ffc 249586
schroot-common_1.4.18-1_all.deb
ffb79c6817d2b16a985a6596237340a91586490d37d81dfc136d7cc6775b6acf 7236228
libsbuild-doc_1.4.18-1_all.deb
adb04af6ad97c8c857d1a20660adad3c4072caed5a5f4b010c1d53f63e378fa6 1854574
libsbuild-dev_1.4.18-1_amd64.deb
81dba3362176ea6f441b52749423698e5574c579b07384e2318213c9cb157561 16471914
schroot-dbg_1.4.18-1_amd64.deb
a95309c34f4d8972c8dfc2a41acdc3e1d50b777c9b5c62690eb2e9c95413b872 916814
schroot_1.4.18-1_amd64.deb
fe1d4d586784b6c82f67f24be2f2ac737b2b8a18d1925efdba65448c2a512fbc 402440
dchroot_1.4.18-1_amd64.deb
7da7ed972552f75894e1eb88bd5033c8917de6f317f6aa96ffb36fb308e4de9f 402270
dchroot-dsa_1.4.18-1_amd64.deb
Files:
f5b2a15c2fcfe65c585c47a05bf717b0 1594 admin optional schroot_1.4.18-1.dsc
fd63d640d256ad6f30bfd30022d30f68 789160 admin optional
schroot_1.4.18.orig.tar.bz2
595db97b4ad7a4379b0c8fb234dd6a35 23090 admin optional
schroot_1.4.18-1.debian.tar.gz
28a4631c20ebf95991bc115b048af793 249586 admin optional
schroot-common_1.4.18-1_all.deb
fa2a28d7dd2578c5f0542a042d398e96 7236228 doc optional
libsbuild-doc_1.4.18-1_all.deb
026bc43b557da958362cd554b187401d 1854574 libdevel optional
libsbuild-dev_1.4.18-1_amd64.deb
34db6496a7bd78a8b2515f4b9f83ffb4 16471914 debug extra
schroot-dbg_1.4.18-1_amd64.deb
57e1d308fbf0a9166279835cf4cf08d9 916814 admin optional
schroot_1.4.18-1_amd64.deb
cb055965858964005481465e3c47af51 402440 admin optional
dchroot_1.4.18-1_amd64.deb
0faa8df42d4adcf92d5a6cc29e00fd1f 402270 admin optional
dchroot-dsa_1.4.18-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREDAAYFAk0rlYkACgkQVcFcaSW/uEhsjQCgxQ4VSt/tspRc6z7ArHY+glhW
NDAAnjzf/NheFcH89etBXW06+sZl7YXL
=eN2V
-----END PGP SIGNATURE-----
--- End Message ---