debootstrap fails if target chroot directory mounted via --bind

Bug #561339 reported by Ilya Murav'jov on 2010-04-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)
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://ru.archive.ubuntu.com 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 http://archive.ubuntu.com/ubuntu/

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