[Buildd-tools-devel] Bug#512131: Bug#512131: schroot: sessions and chroots can't be named the same... inconsistently

Roger Leigh rleigh at codelibre.net
Sat Jan 17 17:28:15 UTC 2009


On Sat, Jan 17, 2009 at 05:53:00PM +0100, Adeodato Simó wrote:
> Package: schroot
> Version: 1.2.1-1
> 
> Hello, please consider this:
> 
>     % schroot --list
>     etch
>     etch-i386
>     etch-i386-source
>     etch-source
> 
>     % schroot -b -n etch -c etch
>     etch
[...]
> Please either allow sessions to be named as chroots (preferred if there
> is no ambiguity possible), or at least don't allow for sessions to be
> created with the same name as a chroot!
> 
> But since the config file could be modified, and a chroot added or
> renamed that would take the name of an existing session (and there is
> no way to prevent that, and then one won't be able to access the
> session), maybe letting them live in separate namespaces is worth
> considering.

Yes, I agree.  Separate namespaces would probably be better, and it
might even simplify the code which currently has to deal with both
chroots and sessions (since some chroots types are automatically also
sessions, whereas others are not).


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/20090117/43fd3abf/attachment.pgp 


More information about the Buildd-tools-devel mailing list