[buildd-tools-devel] Bug#595647: Bug#595647: schroot: cannot create session with the same name as the chroot

Roger Leigh rleigh at codelibre.net
Sun Sep 5 16:54:21 UTC 2010


tags 595647 + patch fixed-upstream pending
thanks

On Sun, Sep 05, 2010 at 03:54:08PM +0200, Sascha Silbe wrote:
> schroot(1) says I can use the same name for the session as the name of the chroot (like it worked for lenny):
> 
> >   Session chroots
> >       All sessions created with --begin-session are placed within the 'session:' namespace.  A session named with --session-name may have any name, even  the  same
> >       name  as the chroot it was created from, providing that it is unique within this namespace.  This was not permitted in previous versions of schroot which did
> >       not have namespaces.
> 
> Unfortunately it doesn't work:

Thanks for reporting this.  I've fixed this in the git repo, and
I'll make a new release to fix this soon.

http://git.debian.org/?p=buildd-tools/schroot.git;a=commitdiff;h=08df8d81e93f9905f00d4968aefcaf8fadcfc89e

The reason for this was when searching for the chroot name, we
were falling back on the "chroot" namespace rather than using
the "session" namespace as asked.  The above patch fixes that.


Regards,
Roger

-- 
  .''`.  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: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100905/58f9082c/attachment.pgp>


More information about the Buildd-tools-devel mailing list