Bug#542915: pbuilder removes data from bind-mounted directories

Julien Cristau jcristau at debian.org
Mon Dec 27 16:04:02 UTC 2010


On Wed, Dec 15, 2010 at 14:21:05 +1100, Matthew Palmer wrote:

> tag 542915 +patch
> usertags 542915 -in-progress +patch-in-git
> thanks
> 
> Attached is my minimal patch solving the problem of data loss in
> bind-mounted directories.  It provides a safety net that, in the event that
> *anything* is still mounted inside the chroot, no attempt to delete anything
> will be made.  Whilst this may, in some corner cases, result in failure to
> cleanup a chroot when previously (most) things would have been deleted, it
> should never effect most users.
> 
> I've exercised this patch in every way I can think of (bind-mounting things
> left and right, regular mounts, symlinks to mounts, etc) and I haven't been
> able to get it to actually delete anything any more.
> 
Hi Matt,

do you plan on NMUing pbuilder for this bug?

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20101227/f36a9565/attachment.pgp>


More information about the Pbuilder-maint mailing list