--create fails due to failure to mount /proc

Bug #595908 reported by Martin-Éric Racine on 2010-06-18
This bug affects 8 people
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)

Bug Description

Binary package hint: debootstrap

When running deboostrap from pbuilder in Maverick, creating the chroot fails as follow:

I: Extracting upstart...
I: Extracting util-linux...
I: Extracting xz-utils...
I: Extracting zlib1g...
W: Failure trying to run: chroot /var/cache/pbuilder/build/1049/. mount -t proc proc /proc
E: debootstrap failed
W: Aborting with an error
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//1049 and its subdirectories

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: debootstrap 1.0.23
ProcVersionSignature: Ubuntu 2.6.32-10.14+bug396286v2-generic
Uname: Linux 2.6.32-10-generic i586
Architecture: i386
Date: Fri Jun 18 14:41:53 2010
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: debootstrap

Martin-Éric Racine (q-funk) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debootstrap (Ubuntu):
status: New → Confirmed
geoff (geoff-wong) wrote :

Having the same problem on natty.

Dan Bolsun (dan-bolsun) wrote :

Same problem on oneiric lxc-container created on 12.04 with 'lxc-create -n builder -t ubuntu -- -r oneiric'

Erik Brommers (ebrommers) wrote :

Having the same problem on VMWare image of precise under OS X 10.6.8. What's interesting here is that the pbuilder create calls with ARCH=i386 work for me, but ARCH=amd64 are failing with the same symptoms (chroot mount failure followed by debootstrap failed error). I have:

sudo DIST=lucid ARCH=i386 pbuilder create --> works
sudo DIST=lucid ARCH=amd64 pbuilder create --> fails
sudo DIST=maverick ARCH=i386 pbuilder create --> works
sudo DIST=maverick ARCH=amd64 pbuilder create --> fails
sudo DIST=natty ARCH=i386 pbuilder create --> works
sudo DIST=natty ARCH=amd64 pbuilder create --> fails
sudo DIST=oneiric ARCH=i386 pbuilder create --> works
sudo DIST=oneiric ARCH=amd64 pbuilder create --> fails
sudo DIST=precise ARCH=i386 pbuilder create --> works
sudo DIST=precise ARCH=amd64 pbuilder create --> fails

Erik Brommers (ebrommers) wrote :

Edit to my last comment (and removing myself from the bug report). It looks like the cause of the error in my case was that I had installed the i386 version of 12.04, not the amd64 version. I created a new amd64 image of 12.04, and all flavors of pbuilder create now work.

(Note to those who come across this error while running 12.04 in a VMWare image from OS X -- check http://support.apple.com/kb/HT3696 to see if your computer can support a 64-bit OS. If it can, install the amd64 version instead of the i386 version. You can verify which version is installed by typing: "file /bin/ls" at the ubuntu terminal prompt.)

Rolf Leggewie (r0lf) on 2017-02-13
tags: added: trusty
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers