[Buildd-tools-devel] schroot 0.1.5 released

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Sep 11 16:01:51 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I've just released schroot version 0.1.5.  The upstream tarball is
available here:

http://people.debian.org/~rleigh/schroot/schroot-0.1.5.tar.bz2

Please could this be added to the buildd-tools file page.  These also
need adding:
http://people.debian.org/~rleigh/schroot/schroot-0.1.3.tar.bz2
http://people.debian.org/~rleigh/schroot/schroot-0.1.4.tar.bz2

I've also uploaded this to unstable, and it's currently in incoming.

This release has a number of exciting new features.  This is from the
NEWS file:

  1) The authentication system has been extended to remove the
     dependency upon libpam_misc.  There are no user-visible changes.

  2) The root user (uid 0) no longer has special priveleges during
     authentication.  If the root user should have special priveleges
     (such as not requiring authentication to change to any other
     user), do the following:

     - uncomment the pam_rootok.so line in pam.d/schroot.  This will
       disable the requirement for root authentication.
     - add root to groups (root_groups membership is redundant), so
       that root is allowed access.

  3) The configuration file, /etc/schroot.conf has been moved to
     /etc/schroot/schroot.conf.  This should be moved automatically
     when upgrading the Debian package.

  4) A new directory, /etc/schroot/setup.d has been added.  This
     contains scripts to perform setup and cleanup tasks in the
     chroot, which are run with run-parts(8).  This provides an
     easy was to configure and customise chroots.


OK, they weren't that exciting, but number 4 is!  This is the first
part of adding the infrastructure for LVM snapshot (and eventually,
Xen) support.  This allows arbitrary commands to be run before and
after the command/shell is run inside the chroot, which opens up a lot
of possibilities for chroot configuration and customisation; currently
I've just written three simple scripts to set up passwd, networking
and the chroot name.

Once some more work has been done (persistent sessions, separating
chroot creation and teardown from running commands), a script to do
the snapshotting can be created.  Ideas for the remaining work are in
the TODO file.

Comments and criticism are welcome!


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFDJFTuVcFcaSW/uEgRAh1mAJ9puW42qX7AiORaiCXdYkeadhMSMQCeOVpD
WgATxkOPoqBJznX+y95DtzA=
=wYUw
-----END PGP SIGNATURE-----



More information about the Buildd-tools-devel mailing list