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

Sebastian Schmidt yath at yath.de
Sun Nov 15 10:14:11 UTC 2015


Hi Ben,

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.

On Sun, Sep 14, 2014 at 08:03:53PM -0700, Ben Longbons wrote:
> Also for convenience here's the actual config file, nothing that
> wasn't already in the debug log though.

| [precise]
| profile=foo
| description=Ubuntu precise (12.04 LTS)
| directory=/opt/chroot/precise
| users=ben

There is no type= setting, so it defaults to “plain”:
| type=type
|   The  type of the chroot.  Valid types are ‘plain’, ‘directory’,
|   ‘file’, ‘loopback’, ‘block-device’, ‘btrfs-snapshot’ and ‘lvm-snapshot’.
|   If empty or omitted, the default type is ‘plain’.  Note that ‘plain’
|   chroots do not run setup scripts and mount filesystems; ‘directory’ is
|   recommended for normal use (see “Plain and directory chroots”, below).

Setting type=directory should fix your problem.

HTH,
    Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151115/fe1ad533/attachment.sig>


More information about the Buildd-tools-devel mailing list