[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631087: debootstrap fails to unmount /proc from target



On Sun, 2011-08-21 at 16:21 -0400, Joey Hess wrote:
> Ben, I don't understand your patch for this at all.
> The error message you showed is "umount: /proc: device is busy."
> How can umount -n avoid it trying to umount the wrong /proc?

It not only inhibits umount from updating /etc/mtab, but also means that
it never uses /etc/mtab to canonicalize the given path.

> Also, portability is a concern. busybox umount does not support -n,
> for example.
> 
> When I run debootstrap, it ends successfully with $chroot/proc not being
> mounted. Is there something about it being run by pbuilder that triggers
> this bug?

Don't know.

Ben.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: