[buildd-tools-devel] schroot 1.4.22 released

Roger Leigh rleigh at codelibre.net
Sun May 15 16:32:32 UTC 2011


Hi,

I've released schroot version 1.4.22.  This is the first release
since squeeze to include anything other than bugfixes.  Changes
include:

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

  2) Chroot profiles no longer bind filesystems with rbind.  Recursive
     bind mounting of /proc, /dev and /sys caused breakage with
     systemd due to its use of autofs mounts.  autofs interacts badly
     with bind mounting, leading to unmountable mount points.  While
     rbind is still possible, it is not done by default, and instead
     only specific filesystems are mounted; additional mounts required
     must be added to the profile fstab file.

  3) Session metadata includes the original chroot name.  This is
     available in the user environment as SCHROOT_CHROOT_NAME and
     in the setup scripts as CHROOT_NAME.

  4) A buildd profile is now provided.  This was previously provided
     by the sbuild package, but has now been consolidated with the
     main collection of schroot profiles.

  5) A helper program, schroot-sbuild has been provided in order to
     provide better privilege separation with sbuild.  This permits an
     authorised user in the sbuild group to run builds as the sbuild
     user.

Note that (4) and (5) are intended to return the sbuild package
back to being arch-all from arch-any.  This has been done by moving
the schroot helper into schroot itself from sbuild, and moving the
schroot buildd profile from sbuild/buildd to schroot.  The generated
profiles are arch/platform-specific, so this will mean that you'll
always get the correct profile when you install schroot.

The rbind change will only affect people who use esoteric filesystems
inside the chroot.

I'll make an sbuild upload soon which will remove the buildd profile;
this is already done in git.


Regards,
Roger


Roger Leigh (31):
      build: Enable large file support by default
      NEWS: Bump version to 1.4.22 and document large file support
      debian: Bump version to 1.4.22-1 and document large file support
      debian: Close #619825
      etc: Add buildd profile-template from sbuild
      sbuild::session: is_group_member is a member function
      sbuild::auth: Allow setting of remote user
      build: Add libschroot-all library
      dchroot_dsa::main: Load dchroot.conf using new interface
      debian: Close #626503
      sbuild::session: is_group_member is protected
      schroot-sbuild: Add wrapper for sbuild
      etc: profiles don't use rbind
      debian: Close #622756
      NEWS: Document rbind changes
      man: Add missing newline for run-exec-scripts
      debian: Close #624303
      man: Fix unterminated underline of /proc
      debian: Close #624302
      schroot: Preserve original chroot name after session cloning
      NEWS: Document CHROOT_NAME change
      debian: Close #623828
      man: Update chroot types implementing extra options
      debian: Close #626221
      debian: Provide buildd profile directly
      debian: Drop obsolete Replaces
      debian: Replace sbuild as well
      debian: Document sbuild replaces
      etc: Enable buildd profile and sync with sbuild
      debian: Document additional profile-templates work
      NEWS: Document profile and helper addition

 NEWS                                           |   28 +++++-
 bin/Makefile.am                                |    1 +
 bin/csbuild/Makefile.am                        |    2 +-
 bin/dchroot-dsa/Makefile.am                    |    2 +-
 bin/dchroot-dsa/dchroot-dsa-main.cc            |    2 +-
 bin/dchroot/Makefile.am                        |    2 +-
 bin/schroot-base/Makefile.am                   |    2 +-
 bin/schroot-listmounts/Makefile.am             |    2 +-
 bin/schroot-mount/Makefile.am                  |    2 +-
 bin/schroot-releaselock/Makefile.am            |    2 +-
 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                        |   13 ++-
 bin/schroot/schroot-main.h                     |    2 +-
 configure.ac                                   |    1 +
 debian/changelog                               |   35 +++++++
 debian/control                                 |    2 +-
 etc/Makefile.am                                |    1 +
 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     |    2 +
 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    |    8 ++-
 etc/profile-templates/desktop/linux/fstab      |   12 ++-
 etc/setup.d/50chrootname                       |    7 +-
 man/schroot-setup.5.in                         |    4 +
 man/schroot.conf.5.in                          |   54 ++++++-----
 sbuild/Makefile.am                             |    2 -
 sbuild/sbuild-auth.cc                          |  116 ++++++++++++++++-------
 sbuild/sbuild-auth.h                           |   70 +++++++++++++
 sbuild/sbuild-chroot-facet-session-clonable.cc |    4 +-
 sbuild/sbuild-chroot-facet-session.cc          |   32 ++++++-
 sbuild/sbuild-chroot-facet-session.h           |   19 ++++
 sbuild/sbuild-chroot.cc                        |    2 +-
 sbuild/sbuild-session.cc                       |  125 ++++++++++++-----------
 sbuild/sbuild-session.h                        |    9 ++
 scripts/global.mk                              |    2 +
 test/sbuild-chroot-block-device.cc             |    4 +-
 test/sbuild-chroot-btrfs-snapshot.cc           |    2 +-
 test/sbuild-chroot-directory.cc                |    5 +-
 test/sbuild-chroot-file.cc                     |    3 +-
 test/sbuild-chroot-loopback.cc                 |    4 +-
 test/sbuild-chroot-lvm-snapshot.cc             |    2 +-
 test/test-sbuild-chroot.h                      |    4 +-

-- 
  .''`.  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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110515/a9bd25f3/attachment.pgp>


More information about the Buildd-tools-devel mailing list