[buildd-tools-devel] schroot 1.5.1 released

Roger Leigh rleigh at codelibre.net
Fri Dec 30 14:22:56 UTC 2011


Hi,

I've released schroot 1.5.1, a new development release aimed for
inclusion in wheezy.  This release contains the following major
changes:

  1) schroot no longer requires GCC to build, following the removal of
     GCC-specific features.  It may now build with other C++ compilers.

  2) Large file support is enabled by default.  This enables the use
     of files over 2 GiB in size on 32 bit architectures.

  3) The environment variable CHROOT_ALIAS has been added to the setup
     script execution environment, and SCHROOT_ALIAS_NAME to the user
     environment.  These may be used to conditionally alter behaviour
     depending upon the chroot alias used.

  4) dchroot and dchroot-dsa no longer use dchroot.conf.  Both
     programs now always use schroot.conf, and additionally use the
     same authentication mechanisms as schroot.  This is intended to
     provide the same basic configuration for all tools, and to also
     improve security by only having a single set of authentication
     rules.

And a few minor ones:
- Multiarch path support
- Support for older Boost releases to permit building on stable
- Improved documentation of some behavioural details
- Use of dh

This will find its way into unstable in the next month or so,
following further testing.  This was blocked for some time by sbuild
not supporting schroot chroot namespaces; sbuild now works correctly,
so this is no longer a blocker.  In general, the 1.5.0 and 1.5.1
releases are mainly cleanup releases, removing deprecated and
obsoleted features.  Future 1.5.x releases may move on to the
addition of new features, including

- zfs snapshot support
- wildcard/regexps in user/group lists to permit more sophisticated
  access control.  e.g. it is not possible to permit all users with
  the current scheme
- the "csbuild" binary may be renamed to sbuild and wrap the real
  sbuild script; this will close the major security hole in sbuild
  at present--the de-facto requirement for sbuild users to have
  effective root access to the system.  This was done previously in
  sbuild, but was removed due to the desire to keep sbuild arch-indep;
  this will do the same, but be in a separate package


Regards,
Roger


Jonathan Callen (1):
      schroot-base: fix build with --enable-debug

Julian Andres Klode (1):
      contrib: Add setup script for qemu

Patrick Ohly (1):
      15killprocs: Warn about race condition when killing processes

Roger Leigh (62):
      sbuild::chroot: Use sbuild:: namespace for all file scope definitions
      sbuild: Prefix all chroot type usage with sbuild namespace qualifier
      sbuild: Work with boost::filesystem v3
      THANKS: Add Zach Carter
      sbuild: Replace GCC-specific stdio_filebuf with Boost.Iostreams
      debian: Build with Boost 1.46 and remove old versions from build depends
      debian: Depend on Boost 1.46 packages
      debian: Build-Depend on libboost-iostreams1.46-dev
      NEWS: Bump version to 1.5.1 and document GCC-specific feature removal
      debian: Bump version to 1.5.1-1 and document Boost changes
      debian: Close #609067
      sbuild::session: Don't unset argv[0] when command-prefix is invalid
      man: Document use of eatmydata with command-prefix for performance
      build: Enable large file support by default
      build: Add configure checks for unshare system call
      NEWS: Document large file support
      debian: Build using dh
      build: automake uses dist-xz to xz compress the tarball
      debian: Use dh v9
      etc: sbuild and buildd bind mount scratch space on /build
      man: Enhance documentation of source chroots
      etc: Enable buildd profile and sync with sbuild
      man: Update chroot types implementing extra options
      schroot: Preserve original chroot name after session cloning
      man: Fix unterminated underline of /proc
      etc: profiles don't use rbind
      schroot-sbuild: Add wrapper for sbuild
      sbuild::session: is_group_member is protected
      dchroot_dsa::main: Load dchroot.conf using new interface
      build: Add libschroot-all library
      sbuild::auth: Allow setting of remote user
      sbuild::session: is_group_member is a member function
      etc: Add buildd profile-template from sbuild
      debian: Merge changelog from schroot-1.4
      NEWS: Merge changes from schroot-1.4
      sbuild::session: Remove duplicated prototype
      debian: Use multiarch paths
      debian: Update control relations from schroot-1.4
      build: Distribute 99binfmt
      debian: Remove generated install files
      debian: Use Standards-Version 3.9.2
      sbuild::chroot_facet_session: Store alias used as selected_name
      build: Move all path specification to global.mk
      debian: Build-Depend upon groff-base for soelim
      debian: Close #635320
      NEWS: Document CHROOT_ALIAS and SCHROOT_ALIAS_NAME
      Document directory fallbacks in manual pages
      debian: Close #633671
      man: Reformat examples and corrections
      sbuild::session: Add informative message for nonexisting directory in chroot
      debian: Fix missing comma in dependency
      dchroot: Drop support for dchroot.conf and alternative security checks
      NEWS: Document dchroot.conf support removal
      debian: Document dchroot.conf support removal
      man: Document dchroot.conf support removal
      sbuild::feature: Add and use class to register features
      sbuild: Support boost::iostreams < 1.44
      sbuild: Add sbuild::feature
      debian: schroot Breaks sbuild << 0.62.6
      po: Update current source files
      build: Distribute schroot.conf
      man: Search srcdir when running soelim

 HACKING                                        |   45 +--
 NEWS                                           |   62 +++-
 THANKS                                         |    4 +
 bin/Makefile.am                                |    1 +
 bin/csbuild/Makefile.am                        |    2 +-
 bin/dchroot-dsa/Makefile.am                    |    4 +-
 bin/dchroot-dsa/dchroot-dsa-chroot-config.cc   |  130 -----
 bin/dchroot-dsa/dchroot-dsa-chroot-config.h    |   68 ---
 bin/dchroot-dsa/dchroot-dsa-main.cc            |   22 +-
 bin/dchroot-dsa/dchroot-dsa-main.h             |    2 -
 bin/dchroot-dsa/dchroot-dsa-session.cc         |   39 +--
 bin/dchroot-dsa/dchroot-dsa-session.h          |   17 +-
 bin/dchroot/Makefile.am                        |    4 +-
 bin/dchroot/dchroot-chroot-config.cc           |  153 ------
 bin/dchroot/dchroot-chroot-config.h            |   68 ---
 bin/dchroot/dchroot-main-base.cc               |   79 +---
 bin/dchroot/dchroot-main-base.h                |   13 -
 bin/dchroot/dchroot-main.cc                    |   21 +-
 bin/dchroot/dchroot-main.h                     |    3 -
 bin/dchroot/dchroot-session-base.cc            |   18 +-
 bin/dchroot/dchroot-session-base.h             |   25 +-
 bin/dchroot/dchroot-session.cc                 |   19 +-
 bin/dchroot/dchroot-session.h                  |   16 +-
 bin/schroot-base/Makefile.am                   |    2 +-
 bin/schroot-base/schroot-base-main.cc          |   16 +-
 bin/schroot-listmounts/Makefile.am             |    4 +-
 bin/schroot-mount/Makefile.am                  |    4 +-
 bin/schroot-releaselock/Makefile.am            |    4 +-
 bin/schroot-sbuild/.gitignore                  |    1 +
 bin/schroot-sbuild/Makefile.am                 |   44 ++
 bin/schroot-sbuild/schroot-sbuild-main.cc      |   57 ++
 bin/schroot-sbuild/schroot-sbuild-main.h       |   59 ++
 bin/schroot-sbuild/schroot-sbuild-session.cc   |   68 +++
 bin/schroot-sbuild/schroot-sbuild-session.h    |   60 ++
 bin/schroot-sbuild/schroot-sbuild.cc           |   44 ++
 bin/schroot/Makefile.am                        |   25 +-
 bin/schroot/schroot-main-base.cc               |   20 +-
 bin/schroot/schroot-main-base.h                |    9 +-
 bin/schroot/schroot-main.cc                    |   14 -
 bin/schroot/schroot-main.h                     |    8 +-
 configure.ac                                   |  261 +++-------
 contrib/setup.d/99binfmt                       |   46 ++
 contrib/setup.d/Makefile.am                    |    3 +-
 debian/changelog                               |   97 ++++
 debian/compat                                  |    2 +-
 debian/control                                 |   57 ++-
 debian/dchroot-dsa.install                     |    2 -
 debian/dchroot-dsa.install.in                  |    2 +
 debian/dchroot.install                         |    2 -
 debian/dchroot.install.in                      |    2 +
 debian/libsbuild-dev.install                   |    3 -
 debian/libsbuild-dev.install.in                |    3 +
 debian/libsbuild1.install                      |    1 -
 debian/libsbuild1.install.in                   |    1 +
 debian/rules                                   |  184 +++----
 debian/schroot-common.install                  |    1 -
 debian/schroot-common.install.in               |    1 +
 debian/schroot.install                         |   12 -
 debian/schroot.install.in                      |   12 +
 etc/Makefile.am                                |   11 +-
 etc/genprofile                                 |    2 +-
 etc/profile-templates/all/all/nssdatabases     |    4 -
 etc/profile-templates/all/linux/fstab          |    4 +-
 etc/profile-templates/buildd/all/config        |   19 +
 etc/profile-templates/buildd/all/copyfiles     |    6 +
 etc/profile-templates/buildd/all/nssdatabases  |    6 +
 etc/profile-templates/buildd/freebsd/fstab     |    3 +
 etc/profile-templates/buildd/linux/fstab       |    5 +
 etc/profile-templates/default/all/nssdatabases |    4 +
 etc/profile-templates/default/freebsd/fstab    |    7 +
 etc/profile-templates/default/linux/fstab      |   12 +-
 etc/profile-templates/desktop/all/nssdatabases |    4 +
 etc/profile-templates/desktop/freebsd/fstab    |   12 +-
 etc/profile-templates/desktop/linux/fstab      |   12 +-
 etc/profile-templates/sbuild/linux/fstab       |    5 +
 etc/setup.d/15killprocs                        |   17 +-
 etc/setup.d/50chrootname                       |    7 +-
 etc/setup.d/Makefile.am                        |   36 +-
 man/Makefile.am                                |   66 +++
 man/authors.man                                |    2 +
 man/copyright.man                              |    7 +
 man/csbuild.1.in                               |  317 -----------
 man/csbuild.1.man                              |  293 ++++++++++
 man/dchroot-dsa.1.in                           |  269 ----------
 man/dchroot-dsa.1.man                          |  245 +++++++++
 man/dchroot.1.in                               |  317 -----------
 man/dchroot.1.man                              |  290 ++++++++++
 man/schroot-faq.7.in                           |  261 ---------
 man/schroot-faq.7.man                          |  264 +++++++++
 man/schroot-script-config.5.in                 |   79 ---
 man/schroot-script-config.5.man                |   73 +++
 man/schroot-setup.5.in                         |  263 ---------
 man/schroot-setup.5.man                        |  268 ++++++++++
 man/schroot.1.in                               |  681 ------------------------
 man/schroot.1.man                              |  668 +++++++++++++++++++++++
 man/schroot.conf.5.in                          |  587 --------------------
 man/schroot.conf.5.man                         |  563 ++++++++++++++++++++
 po/POTFILES.in                                 |   15 +-
 po/cs.po                                       |  445 ++++++++--------
 po/da.po                                       |  452 ++++++++--------
 po/de.po                                       |  459 ++++++++--------
 po/en.po                                       |  436 ++++++++--------
 po/eu.po                                       |  455 ++++++++--------
 po/fr.po                                       |  441 ++++++++--------
 po/it.po                                       |  441 ++++++++--------
 po/pt.po                                       |  441 ++++++++--------
 po/schroot.pot                                 |  329 ++++++-------
 po/sv.po                                       |  460 ++++++++--------
 po/vi.po                                       |  435 ++++++++--------
 po/zh_CN.po                                    |  429 ++++++++--------
 sbuild/Makefile.am                             |    5 +-
 sbuild/sbuild-auth-pam.cc                      |    3 +
 sbuild/sbuild-auth.cc                          |  116 +++--
 sbuild/sbuild-auth.h                           |   70 +++
 sbuild/sbuild-chroot-block-device.cc           |    3 +-
 sbuild/sbuild-chroot-block-device.h            |    1 +
 sbuild/sbuild-chroot-btrfs-snapshot.cc         |    3 +-
 sbuild/sbuild-chroot-btrfs-snapshot.h          |    1 +
 sbuild/sbuild-chroot-config.cc                 |   21 +-
 sbuild/sbuild-chroot-directory.cc              |    3 +-
 sbuild/sbuild-chroot-directory.h               |    1 +
 sbuild/sbuild-chroot-facet-mountable.cc        |    2 +-
 sbuild/sbuild-chroot-facet-personality.cc      |    2 +-
 sbuild/sbuild-chroot-facet-session-clonable.cc |    8 +-
 sbuild/sbuild-chroot-facet-session-clonable.h  |    1 +
 sbuild/sbuild-chroot-facet-session.cc          |   63 ++-
 sbuild/sbuild-chroot-facet-session.h           |   38 ++
 sbuild/sbuild-chroot-facet-source-clonable.cc  |    2 +-
 sbuild/sbuild-chroot-facet-source.cc           |    2 +-
 sbuild/sbuild-chroot-facet-union.cc            |    3 +
 sbuild/sbuild-chroot-file.cc                   |    3 +-
 sbuild/sbuild-chroot-file.h                    |    1 +
 sbuild/sbuild-chroot-loopback.cc               |    3 +-
 sbuild/sbuild-chroot-loopback.h                |    1 +
 sbuild/sbuild-chroot-lvm-snapshot.cc           |    3 +-
 sbuild/sbuild-chroot-lvm-snapshot.h            |    1 +
 sbuild/sbuild-chroot-plain.cc                  |    5 +-
 sbuild/sbuild-chroot-plain.h                   |    1 +
 sbuild/sbuild-chroot.cc                        |   26 +-
 sbuild/sbuild-chroot.h                         |    6 +-
 sbuild/sbuild-ctty.cc                          |   11 +-
 sbuild/sbuild-ctty.h                           |    6 +-
 sbuild/sbuild-fdstream.h                       |   45 ++
 sbuild/sbuild-feature.cc                       |   59 ++
 sbuild/sbuild-feature.h                        |   55 ++
 sbuild/sbuild-lock.cc                          |    6 +
 sbuild/sbuild-personality.cc                   |    7 +
 sbuild/sbuild-run-parts.cc                     |    4 +
 sbuild/sbuild-session.cc                       |  142 +++---
 sbuild/sbuild-session.h                        |   19 +-
 scripts/global.mk                              |   31 ++
 test/sbuild-chroot-block-device.cc             |    8 +-
 test/sbuild-chroot-btrfs-snapshot.cc           |    4 +-
 test/sbuild-chroot-directory.cc                |   11 +-
 test/sbuild-chroot-file.cc                     |    5 +-
 test/sbuild-chroot-loopback.cc                 |    8 +-
 test/sbuild-chroot-lvm-snapshot.cc             |    4 +-
 test/sbuild-chroot.cc                          |    1 +
 test/test-sbuild-chroot.h                      |    6 +-
 159 files changed, 6988 insertions(+), 6715 deletions(-)

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.



More information about the Buildd-tools-devel mailing list