Bug 770076

Summary: FEBOOTSTRAP_KERNEL causes appliance build to fail
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: gaowanlong, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Richard W.M. Jones 2011-12-23 09:50:02 UTC
Description of problem:

If FEBOOTSTRAP_KERNEL is set, appliance building fails.

Version-Release number of selected component (if applicable):

libguestfs 1.15.13
febootstrap 3.12

How reproducible:

100%

Steps to Reproduce:
1. Set FEBOOTSTRAP_KERNEL to point to a kernel at some non-standard location.
2. Run any libguestfs tool.
3.
  
Actual results:

febootstrap-supermin-helper: using environment variable(s) FEBOOTSTRAP_* to
select kernel /tmp/p/vmlinuz-2.6.32-221.el6.x86_64
Fatal error: exception Guestfs.Error("cannot find any suitable libguestfs supermin or ordinary appliance on LIBGUESTFS_PATH (search path: /home/rjones/d/libguestfs/appliance)")
libguestfs: closing guestfs handle 0x15a52a0 (state 0)

Expected results:


Additional info:

Comment 1 Wanlong Gao 2011-12-24 03:00:27 UTC
I can't reproduce this, below is my message:

$virt-inspector -v /work/image/debian_squeeze_amd64_standard.qcow2 
libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/local/lib/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/local/lib/guestfs/supermin.d
febootstrap-supermin-helper: using environment variable(s) FEBOOTSTRAP_* to
select kernel /tmp/vmlinuz-3.1.5-6.fc16.x86_64
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/local/lib/guestfs/supermin.d/hostfiles
supermin helper [00023ms] visiting /usr/local/lib/guestfs/supermin.d/init.img
supermin helper [00089ms] finished creating appliance