[Buildd-tools-devel] schroot 0.2.11 released

Roger Leigh rleigh at whinlatter.ukfsn.org
Sat Jun 10 09:14:39 UTC 2006


Hi folks,

I've released schroot version 0.2.11.  This fixes a potential cause of
serious dataloss when purging file-based chroots, if the user manually
mounted additional filesystems inside the chroot.  This issue only
affected "file" chroots, rather than the more commonly-used "plain",
"block-device" or "lvm-snapshot" types.


The main changes are:

  1) The 10mount script, used to unmount filesystem in a chroot, will
     exit with an error if unmounting fails (for safety).  It also
     uses /proc/mounts (via a new program, schroot-listmounts) to
     ensure all filesystems in the chroot are unmounted.

  2) The 05file script, used to unpack and repack chroot archives,
     will use schroot-listmounts to check if any filesystems are
     mounted before purging the chroot.  This is in order to avoid
     dataloss.

  3) Setup scripts can now abort on failure during cleanup (exec-stop
     and setup-stop phases).  Previously the scripts continued in the
     face of failure, and broken sessions were removed.  Broken
     sessions which failed to clean up must now be removed by the
     system administrator (which was required previously; it just
     wasn't apparent), or the session can be ended again once the
     problem has been rectified.


The full changelog and the release tarball are here:
https://alioth.debian.org/project/shownotes.php?release_id=774
https://alioth.debian.org/download.php/1610/schroot-0.2.11.tar.bz2


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060610/358743ad/attachment.pgp


More information about the Buildd-tools-devel mailing list