[buildd-tools-devel] schroot 1.6.4 released

Roger Leigh rleigh at codelibre.net
Sat Oct 27 23:22:13 UTC 2012


Hi,

I have released schroot version 1.6.4, a stable release in the 1.6
series.  This releases contains only bugfixes.

  * New upstream stable release.
  * NEWS: Provide guidance for wheezy upgrades with regard to
    use of the profile key in a backward-compatible manner also
    using setup.config, to mimic the behaviour of the deprecated
    script-config key.
  * schroot.conf(5) additionally updated to document script-config
    deprecation and use of user keys such as setup.config.
  * schroot-mount: Canonicalise mountpoints with symlinks to avoid
    mounting absolute paths on the host rather than inside the chroot
    (Closes: #686148).  Note the caveat regarding paths with multiple
    symlinks in schroot-script-config(5).  This permits safe use of
    symlinks as mountpoints in some common circumstances, e.g. on
    /var/lock, which is a symlink to /run/lock, though this is not
    recommended practice.
  * 15binfmt no longer pollutes output, by redirecting stderr from
    "which update-binfmts" (Closes: #688304).
  * Ensure that CHROOT_ALIAS (setup scripts) and SCHROOT_ALIAS_NAME
    (user environment) always refer to the alias used to create the
    session (Closes: #689078).  The alias is no longer canonicalised
    by sbuild::chroot_config::validate_chroots.  The logic for
    chroot validation and information display in sbuild::chroot_config
    and schroot::main_base (and derived classes) required refactoring
    to allow the unresolved alias name to be passed through to the
    session clone operation in sbuild::session, so that it could be
    stored in the chroot's sbuild::chroot_facet_session facet.
  * On session recovery, mount the snapshot LV rather than the source
    LV for LVM snapshot chroots (Closes: #691376).  The code which
    sets the mount device for all mountable chroots (with an
    sbuild::chroot_facet_mountable facet) is in
    sbuild::chroot_facet_session_clonable::clone_session_setup().
    All chroot types refactored to set the mount device here.
  * 10mount uses a lock directory /var/lock/schroot to contain its
    lockfile, rather than directly using /var/lock, which is less
    secure.

While the number of changes is small, some of the changes required
some refactoring of the code, resulting in a deceptively large diff.
This is mainly just moving code around and changing some method
signatures; there is no user-visible impact other than the above
bug fixes.


Regards,
Roger

Roger Leigh (30):
      NEWS: Bump version to 1.6.4
      debian: Bump version to 1.6.4-1
      debian: NEWS provides instructions for wheezy upgrades for profile key
      man: Update schroot.conf(5) to document script-config userkeys replacement
      debian: Document schroot.conf(5) changes
      schroot-mount: Canonicalise symlinks to avoid host mounts
      man: Document symlink mountpoint canonicalisation
      debian: Close #686148
      15binfmt: Send which error message to null
      debian: Close #688304
      sbuild::chroot_config: Remove namespace from alias
      debian: Close #689078
      NEWS: Merge mountpoint item from 1.7
      debian: Set distribution to unstable
      po: Update
      10mount: Use secure subdirectory of /var/lock for lockfile
      debian: Create lock directory on upgrade and startup
      debian: Document lockfile changes
      Revert "sbuild::chroot_config: Remove namespace from alias"
      sbuild: Don't call set_mount_device indirectly from ctor
      sbuild::chroot_facet_session: strip namespace from selected name
      sbuild-mount: Correctly resolve paths with symlinks
      sbuild: Correct alias handling
      sbuild: Test source session cloning
      sbuild: source block-device does not expect to have a union facet
      po: Update
      schroot-mount: Cope with recursion into single directories
      debian: Fix distribution and typo in schroot NEWS
      debian: Finalise changelog for 1.6.4-1
      schroot-mount: Remove unused variables

 NEWS                                           |   12 +-
 bin/dchroot/dchroot-main-base.cc               |   14 --
 bin/dchroot/dchroot-main-base.h                |    3 -
 bin/dchroot/dchroot-main.cc                    |    8 --
 bin/dchroot/dchroot-main.h                     |    3 -
 bin/dchroot/dchroot-options.cc                 |    6 +-
 bin/schroot-mount/schroot-mount-main.cc        |   69 ++++++++--
 bin/schroot-mount/schroot-mount-main.h         |   17 ++-
 bin/schroot/schroot-main-base.cc               |  115 ++++++++++-------
 bin/schroot/schroot-main-base.h                |   14 +-
 bin/schroot/schroot-main.cc                    |    7 +-
 debian/changelog                               |   39 ++++++
 debian/schroot.NEWS                            |   12 +-
 debian/schroot.init                            |   14 ++
 debian/schroot.postinst                        |   16 +++
 etc/setup.d/10mount                            |   16 ++-
 etc/setup.d/15binfmt                           |    2 +-
 man/schroot-script-config.5.man                |    5 +-
 man/schroot.conf.5.man                         |   29 +++--
 po/cs.po                                       |   44 ++++---
 po/da.po                                       |   46 ++++---
 po/de.po                                       |   44 ++++---
 po/en.po                                       |   46 ++++---
 po/eu.po                                       |   44 ++++---
 po/fr.po                                       |   44 ++++---
 po/it.po                                       |   44 ++++---
 po/pt.po                                       |   44 ++++---
 po/schroot.pot                                 |   39 +++---
 po/sv.po                                       |   44 ++++---
 po/vi.po                                       |   44 ++++---
 po/zh_CN.po                                    |   44 ++++---
 sbuild/sbuild-chroot-block-device-base.cc      |   19 +--
 sbuild/sbuild-chroot-block-device.cc           |   21 ++-
 sbuild/sbuild-chroot-btrfs-snapshot.cc         |    4 +-
 sbuild/sbuild-chroot-config.cc                 |  165 ++++++------------------
 sbuild/sbuild-chroot-config.h                  |   70 +++-------
 sbuild/sbuild-chroot-custom.cc                 |    4 +-
 sbuild/sbuild-chroot-directory.cc              |   17 +--
 sbuild/sbuild-chroot-facet-session-clonable.cc |   38 +++++-
 sbuild/sbuild-chroot-facet-session-clonable.h  |    4 +-
 sbuild/sbuild-chroot-facet-session.cc          |    5 +-
 sbuild/sbuild-chroot-facet-source-clonable.cc  |   10 +-
 sbuild/sbuild-chroot-facet-source-clonable.h   |    4 +-
 sbuild/sbuild-chroot-facet-union.cc            |   17 ---
 sbuild/sbuild-chroot-facet-union.h             |    8 --
 sbuild/sbuild-chroot-file.cc                   |    4 +-
 sbuild/sbuild-chroot-loopback.cc               |   21 +--
 sbuild/sbuild-chroot-lvm-snapshot.cc           |    4 +-
 sbuild/sbuild-util.cc                          |   30 ++++-
 sbuild/sbuild-util.h                           |    8 +-
 test/sbuild-chroot-block-device.cc             |   23 +++-
 test/sbuild-chroot-btrfs-snapshot.cc           |   41 +++++-
 test/sbuild-chroot-config.cc                   |   23 ++--
 test/sbuild-chroot-custom.cc                   |    5 +-
 test/sbuild-chroot-directory.cc                |   48 ++++++-
 test/sbuild-chroot-file.cc                     |   37 ++++++
 test/sbuild-chroot-loopback.cc                 |   58 ++++++++-
 test/sbuild-chroot-lvm-snapshot.cc             |   43 +++++-
 test/sbuild-chroot-plain.cc                    |    5 +-
 test/test-sbuild-chroot.h                      |   62 ++++++++-
 60 files changed, 1046 insertions(+), 680 deletions(-)

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list