[Buildd-tools-devel] Bug#422909: schroot: race condition (?) during cleanup leads to data loss

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 19:36:21 UTC 2007


Package: schroot
Version: 1.1.1-1
Severity: critical

Hi,

I use schroot with 'file' chroots to build packages using sbuild. Since
I upgraded to version 1.1.1-1, things started to go wrong (so I blame
schroot, not sbuild).

The attached log shows the problem. It seems that during the cleanup
phase, the various bind mounts are not unmounted, similarly to what
happened with #401180. So the "real" /home, /tmp, etc are erased during
the cleanup phase.

I haven't found out yet why it's failing. Also, it's failing when I
start builds over ssh, but I couldn't reproduce the failure when
starting builds locally. There might be something different when setting
up my build nodes that causes it not to fail, or it might just be bad
(or good?) luck.

I'll try to investigate it further (probably tomorrow), I just wanted to
report it first, since you are more likely to know what changed and
could break :-)

Thank you,
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: language-support-mr.buildlog.gz
Type: application/octet-stream
Size: 27537 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070508/74cc9ccd/language-support-mr.buildlog-0001.obj


More information about the Buildd-tools-devel mailing list