[buildd-tools-devel] Bug#597368: schroot: session handling broken with plain chroots (breaks sbuild)

Aurelien Jarno aurel32 at debian.org
Sat Sep 18 23:31:07 UTC 2010


Package: schroot
Version: 1.4.12-1
Severity: serious
Justification: break kfreebsd-* buildds

Since version 1.4.12-1, sbuild doesn't work anymore with plain chroots,
due to changes in session handling:

| $ schroot -c sid-kfreebsd-amd64-sbuild --begin-session
| sid-kfreebsd-amd64-sbuild

Note that the session id returned here is the same name as the chroot
as it is a plain chroot. Then sbuild calls schroot with this session
id and it fails:

| $ schroot -c sid-kfreebsd-amd64-sbuild --run-session
| E: sid-kfreebsd-amd64-sbuild: Chroot not found

The bug has been introduced by this commit:

| commit 08df8d81e93f9905f00d4968aefcaf8fadcfc89e
| Author: Roger Leigh <rleigh at debian.org>
| Date:   Sun Sep 5 17:43:28 2010 +0100
|
|     sbuild::chroot_config: Use namespace hints correctly
|    
|     If a chroot name doesn't contain an explict namespace,
|     fall back to the provided namespace hint before falling
|     back to the "chroot" namespace if no hint was provided.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Buildd-tools-devel mailing list