[buildd-tools-devel] Bug#526081: Bug#526081: schroot: not enough warning for missing chroot

Adeodato Simó dato at net.com.org.es
Wed Apr 29 11:55:30 UTC 2009


+ Roger Leigh (Wed, 29 Apr 2009 09:21:09 +0100):

> The only create_directory call is in
> bin/schroot-mount/schroot-mount-main.cc
> which creates mountpoints inside the chroot.  Are you mounting
> in a directory path which has more than two levels nonexistent?
> It might be that mkdir is failing due to create_directory not
> behaving like "mkdir -p", in which case we should add the
> functionality.

> Regarding errors, the useless error is coming from boost.  I'll need
> to reproduce it and see what it's doing, and then file a bug against
> boost if it's at fault.

I'm just using a chroot definition as follows:

    [foo]
    type=lvm-snapshot
    location=/nonexistant
    device=/dev/vg/chroot
    lvm-snapshot-options=--size 1G

And then:

    % sudo schroot -c foo-source
    E: boost::filesystem::create_directory
    E: foo-source: Chroot setup failed: stage=setup-start

I hope that, with that, you can reproduce.

-- 
- Are you sure we're good?
- Always.
        -- Rory and Lorelai






More information about the Buildd-tools-devel mailing list