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

Jakub Wilk ubanus at users.sf.net
Sat Aug 22 09:04:43 UTC 2009


Package: pbuilder
Version: 0.189
Severity: grave
Justification: causes data loss


How to lose your data with pbuilder:

0. Install the C10shell hook.

1. Try to build a package which happens to FTBFS.

2. Realize that you need some files from your $HOME to investigate the 
failure.

3. Bind-mount $HOME into the chroot.

4. Investigate things, logout from the chroot.

5. Say good-bye to your data.


-- 
Jakub Wilk





More information about the Pbuilder-maint mailing list