On Fri, Sep 28, 2012 at 03:59:55PM -0700, Vagrant Cascadian wrote: > Package: schroot > Version: 1.6.3-1 > Severity: normal > > CHROOT_ALIAS and SCHROOT_ALIAS_NAME does not refer to the alias, but to the > actual chroot name. > > I would have expected SCHROOT_ALIAS_NAME=default or chroot:default. > > The same holds true for the CHROOT_ALIAS variable used in the > /etc/schroot/setup.d hooks. > > This means I end up cutting and pasting chroot configurations for > squeeze-backports, experimental, etc. rather than just setting them up as > aliases with setup.d hooks to configure the small differences from squeeze or > sid.
Just checked the code to remind myself how this is set, and it does certainly /look/ like it's being set with the alias name rather than the chroot name. Possibly it's not being passed the correct name in chroot_facet_session_clonable::clone_session_setup (which has an alias argument which is used for the above env vars). I'll have to investigate that in more detail. One possible cause might be if the alias->chroot mappings in sbuild::chroot_config are not being used correctly, or we pass the wrong value in sbuild::session. I'll have to double check that. One other consideration might be if the chroot is capable of session cloning, since these are set during setting cloning. Chroots like "plain", which are not, might not have this capability--I can't remember offhand how they are handled, so I'll again have to check. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org