[buildd-tools-devel] Bug#567349: Bug#567349: schroot --all-chroots uses the same SCHROOT_NAME for each schroot

Wookey wookey at wookware.org
Tue Feb 2 14:12:25 UTC 2010


+++ Roger Leigh [2010-01-28 17:29 +0000]:
> On Thu, Jan 28, 2010 at 04:32:51PM +0000, Wookey wrote:
> > Package: schroot
> > Version: 1.2.1-1
> > Severity: normal
> > 
> > I have 5 chroots covering etch & lenny, amd64 & i386 (and a variant
> > etch/amd64 snapshot) for doing builds in.
> > 
> > I wanted to run a command on all of them with schroot --all that used
> > the name in /etc/debian_schroot to differentiate between the resulting
> > output from each chroot. This failed because /etc/debian_schroot is
> > set to the name(session-ID) of the first schroot entered
> > (tcl-amd64-etch-session) for all 5 runs.
> > 
> > It really should change name to <Name>-<session> each time, should it
> > not?
> 
> Yes, and this should have already been fixed. 

Thanx for the quick response - it is appreciated.

> Please could you
> try a later version (1.4.0 in testing/unstable or 1.2.3-1 which
> was the previous stable release in testing/unstable.  Both of these
> should already have that fix.

OK. I can confirm that this is fixed in 1.4.0. Here is the trivial patch to
backport that to build on lenny:

--- schroot-1.4.0.orig/debian/control
+++ schroot-1.4.0/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian buildd-tools Developers <buildd-tools-devel at lists.alioth.debian.org>          
 Uploaders: Michael Banck <mbanck at debian.org>, Luk Claes <luk at debian.org>, Roger Leigh <rleigh at debian.org>, Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: debhelper (>= 7.0.0), autotools-dev, pkg-config (>= 0.20), libpam0g-dev (>= 0.79-3.1), uuid-dev, liblockdev1-dev (>= 1.0.2), libboost-dev (>= 1.39.0), libboost-program-options-dev (>= 1.39.0), libboost-regex-dev (>= 1.39.0), libboost-filesystem-dev (>= 1.39.0), gettext, libcppunit-dev, doxygen, graphviz
+Build-Depends: debhelper (>= 7.0.0), autotools-dev, pkg-config (>= 0.20), libpam0g-dev (>= 0.79-3.1), uuid-dev, liblockdev1-dev (>= 1.0.2), libboost-dev, libboost-program-options-dev, libboost-regex-dev, libboost-filesystem-dev, gettext, libcppunit-dev, doxygen, graphviz
 Standards-Version: 3.8.3
 Vcs-Browser: http://git.debian.org/?p=buildd-tools/schroot.git
 Vcs-Git: git://git.debian.org/git/buildd-tools/schroot

> If you're using backports, I should backport 1.4.1 after a few
> minor bugs are fixed.

Sticking that (or 1.4.0) in backports would be very helpful.

Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/





More information about the Buildd-tools-devel mailing list