[buildd-tools-devel] Bug#761435: Bug#761435: schroot: Nothing is mounted inside the chroot

Roger Leigh rleigh at codelibre.net
Sun Sep 14 22:38:09 UTC 2014


On Sat, Sep 13, 2014 at 02:01:06PM -0700, Ben Longbons wrote:
> 
> I don't use schroot very often, and I recently noticed that when I use
> it, the inner system is missing all its mounts. In particular, there is
> nothing mounted on /proc or /dev/pts, but there is a private /tmp/ that
> is persistent even after schroot exits.
> 
> Upgrading to the version in experimental does NOT help.
> 
> I do use systemd, and I don't think I've successfully used schroot since
> I switched.

What do you mean by "inner system" here?

I would suggest running with the "-v" options to make schroot display all
the mount/umount operations as well as all the other setup and cleanup
work.  Do you see anything missing or failing?  All the setup/cleanup is
done via the setup scripts in /etc/schroot/setup.d, so it should be
possible to add additional diagnostics to the scripts to see what's
going wrong.

You can also run with "--debug=notice", which will give even more details
about the schroot internals, but I'm not sure in this case it will reveal
much of interest; I'd recommend "-v" though.

I have not tried schroot on systemd though I think other people have had
success since a few patches were submitted and applied for e.g. mount
namespaces.  In general these are to make schroot work around things
systemd has broken and/or arbitrarily changed which break us.  It's
entirely possible the systemd people broke even more basic system
functionality in the meantime.


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



More information about the Buildd-tools-devel mailing list