debootstrap fails if target chroot directory mounted via --bind

Bug #561339 reported by Ilya Murav'jov on 2010-04-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)

Bug Description

Binary package hint: debootstrap

1) Ubuntu version:
Description: Ubuntu 9.10
Release: 9.10
2) 'apt-cache policy debootstrap':
  Installed: 1.0.20
  Candidate: 1.0.20
  Version table:
 *** 1.0.20 0
        500 karmic/main Packages
        100 /var/lib/dpkg/status

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

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).

Ilya Murav'jov (muravjov-il) wrote :

And debootstrap and chroots work well if run it first and then move chroot to another partition and mount --bind.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers