[Bug 1037607] [NEW] vmbuilder completely fails on Quantal due to kernel pae detection failure
Robie Basak
1037607 at bugs.launchpad.net
Thu Aug 16 14:48:06 UTC 2012
Public bug reported:
Impact: this appears to stop vmbuilder from creating a Quantal VM
completely.
Evidently the kernel package now looks for /proc/cpuinfo in order to
check for PAE support (since PAE support is going away in Quantal). I
think this is failing because /proc doesn't exist in the environment
that vmbuilder is using.
Tested on a fresh Quantal cloud image, dist-upgraded and python-vm-
builder installed from the current Quantal archive. The only catch here
is that I did it on a virtual image, but I can't see how that would
affect this.
Possible solution: mount /proc inside the chroot?
Log:
Selecting previously unselected package linux-image-virtual.
Unpacking linux-image-virtual (from .../linux-image-virtual_3.5.0.10.10_amd64.deb) ...
, stderr: grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-10-generic_3.5.0-10.10_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-10-generic /boot/vmlinuz-3.5.0-10-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-10-generic /boot/vmlinuz-3.5.0-10-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.5.0-10-generic_3.5.0-10.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-vm-builder 0.12.4+bzr481-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-9.9-generic 3.5.0
Uname: Linux 3.5.0-9-generic x86_64
Architecture: amd64
Date: Thu Aug 16 14:43:35 2012
PackageArchitecture: all
ProcEnviron:
TERM=xterm
LC_COLLATE=C
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug quantal
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/1037607
Title:
vmbuilder completely fails on Quantal due to kernel pae detection
failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037607/+subscriptions
More information about the Ubuntu-server-bugs
mailing list