debootstrap fails if target chroot directory mounted via --bind

Bug #561339 reported by Ilya Murav'jov
6
This bug affects 1 person
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://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).

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.