[Buildd-tools-devel] Bug#477938: unnecessary umounting and purging in 05file?

martin f krafft madduck at debian.org
Fri Apr 25 14:00:59 UTC 2008


Package: schroot
Version: 1.1.6-1
Severity: minor

setup.d/05file umounts all directories under $CHROOT_MOUNT_LOCATION
and subsequently removes that directory and its contents. It strikes
me that this is something which should be factores into another
script. Since all chroot types mount and create inodes in
/var/lib/schroot/mount, schroot should clean up properly once and
for all, rather than letting each of the methods handle it
themselves.

Looking at 05lvm, which does not umount or clean, I wonder whether
it already does. In that case, maybe the 05file code is left over,
or you could add a comment to explain why it's needed.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-program-options1.34. 1.34.1-11  program options library for C++
ii  libboost-regex1.34.1          1.34.1-11  regular expression library for C++
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.0-3  GCC support library
ii  liblockdev1                   1.0.3-1.2  Run-time shared library for lockin
ii  libpam0g                      0.99.7.1-6 Pluggable Authentication Modules l
ii  libstdc++6                    4.3.0-3    The GNU Standard C++ Library v3
ii  libuuid1                      1.40.8-2   universally unique id library
ii  schroot-common                1.1.6-1    common files for schroot

schroot recommends no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080425/b2824297/attachment.pgp 


More information about the Buildd-tools-devel mailing list