[buildd-tools-devel] Bug#629859: Bug#629859: Bug#629859: debian_chroot unset inside schroot

Roger Leigh rleigh at codelibre.net
Thu Jun 9 08:37:37 UTC 2011


On Thu, Jun 09, 2011 at 04:51:24AM +0100, Philip Ashmore wrote:
> FYI here are my entries in schroot.conf <<EOF
> 
> [squeeze32]
> description=Debian Squeeze i386 (squeeze32)
> directory=/var/chroot/squeeze32
> groups=contact,root
> root-groups=root
> #aliases=squeeze32
> personality=linux32
> type=plain
> 
> [squeeze64]
> description=Debian Squeeze amd64 (squeeze64)
> directory=/var/chroot/squeeze64
> groups=contact,root
> root-groups=root
> ###aliases=squeeze64,default
> aliases=default
> personality=linux
> type=plain
> EOF
> 
> The "type=plain" explains why I have to set up the mounts myself
> - none of the start-up scripts are run in this mode.

This is the most likely reason.  Unless you set type=directory, you
won't get setup scripts running, and hence no /etc/debian_chroot.

Note that you can run the setup scripts without the mounting if you
comment out the mounts in /etc/schroot/default/fstab.  Or set
FSTAB to be an empty file in /etc/schroot/default/config.


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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110609/b959b384/attachment.pgp>


More information about the Buildd-tools-devel mailing list