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

Jakub Wilk ubanus at users.sf.net
Fri Sep 18 20:05:49 UTC 2009


* Junichi Uekawa <dancer at netfort.gr.jp>, 2009-09-19, 00:20:
>Yeah, reassign this bug to 'mount' and 'rm'.

First of all, you should not close a bug without a proper explanation.

mount and rm does exactly what they are meant to do (and what is 
documented). This is not true for your package.

In fact, this bug is easily fixable:
- In most cases, `umount -a` called inside chroot does unmount 
everything that should be unmounted.
- If it does not (i.e. if /proc/mounts contents changed during a build), 
pbuilder should refrain from rm-Rf-ing the chroot.

-- 
Jakub Wilk





More information about the Pbuilder-maint mailing list