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

Revision history for this message
Ken Sharp (kennybobs) wrote (last edit ):

Can you recreate this on a supported release?

> W: Failure trying to run: chroot /home/rdb/abc def/chroot mount -t proc proc /proc

You're probably hitting Bug #1716079, though this report is over a decade old and a lot of things have changed in that time.

Changed in debootstrap (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debootstrap (Ubuntu) because there has been no activity for 60 days.]

Changed in debootstrap (Ubuntu):
status: Incomplete → Expired
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.