[buildd-tools-devel] Bug#829125: schroot: schroot doesn't clean up its bind mounts if used concurrently
Dima Kogan
dima at secretsauce.net
Fri Jul 1 05:41:13 UTC 2016
Roger Leigh <rleigh at codelibre.net> writes:
> While I don't have a concrete solution to hand, some thoughts:
>
> Are you running systemd?
Yes. This is a very recent install of Debian/sid.
> Does the problem occur when you run sysvinit?
Don't know yet.
> Have you altered any of the setup scripts to do rbind in place of
> bind?
Nope. Everything is fairly vanilla.
> Can you reproduce this by hand by starting a session, then creating a
> temporary directory and bind mounting the same stuff into it? That is,
> to recreate the 10mount setup script actions step by step.
I haven't tried debugging it yet. Writing up the failure into this
report is the bulk of the work I put into this so far.
> My suspicion here is that systemd is changing the mount behaviour and
> that you're getting this erroneous mount as a side effect. The point of
> the above test is to check whether this is a schroot issue or a more
> general problem with mount(8). Since schroot isn't doing anything more
> than a series of mount invocations in a shell script and mount helper,
> it's unlikely to cause bizarre side effects in and of itself.
OK, that's good to know. Hopefully I'll get the chance to look at it in
a few days.
For the record, this doesn't happen with bash instead of zsh. The
chroots are fairly vanilla centos installs made with rinse.
More information about the Buildd-tools-devel
mailing list