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

Ben Longbons brlongbons at gmail.com
Mon Sep 15 02:56:45 UTC 2014


On Sun, Sep 14, 2014 at 3:38 PM, Roger Leigh <rleigh at codelibre.net> wrote:
> 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?
The Ubuntu installation inside the chroot.

> 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.

I added 'set -x' to all of the scripts and there is no additional
output. This seems very bizarre.

> 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.

-v didn't show anything, so attachment 'schroot-debug' is the output
of running (as root) schroot --debug=notice -c precise mount, modified
carefully to remove only the other chroots and the host environment
variables.

Incidentally I purged schroot's config and the reinstalled the
jessie/sid version before running this (keeping only my choots and
custom profile).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schroot-debug
Type: application/octet-stream
Size: 6263 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20140914/ab408d8a/attachment.obj>


More information about the Buildd-tools-devel mailing list