debootstrap fails if target chroot directory mounted via --bind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debootstrap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debootstrap
1) Ubuntu version:
Description: Ubuntu 9.10
Release: 9.10
2) 'apt-cache policy debootstrap':
debootstrap:
Installed: 1.0.20
Candidate: 1.0.20
Version table:
*** 1.0.20 0
500 http://
100 /var/lib/
Problem description:
I have little space on /, so I 'sudo mount --bind /var/chroot /media/data/chroot' to get all my chroots on another partition. But if I start debootstrap like
sudo debootstrap --variant=buildd --arch i386 hardy /var/chroot/hardy http://
then debootstrap fails with
W: Failure trying to run: chroot /home/rdb/abc def/chroot mount -t proc proc /proc
So I have only dpkg installed in new chroot (which is not usable).
And debootstrap and chroots work well if run it first and then move chroot to another partition and mount --bind.