Bug 1033632 - supermin-helper cannot guess module path from SUPERMIN_KERNEL=vmlinuz alone
Summary: supermin-helper cannot guess module path from SUPERMIN_KERNEL=vmlinuz alone
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: supermin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: TRACKER-bugs-affecting-libguestfs 1033508
TreeView+ depends on / blocked
Reported: 2013-11-22 14:24 UTC by Richard W.M. Jones
Modified: 2016-06-15 12:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Richard W.M. Jones 2013-11-22 14:24:50 UTC
Description of problem:

For x86 (doesn't work on ARM) it should be possible to guess the
module path from just a "naked" vmlinuz file.  This is because
the vmlinuz file contains its own version number.

supermin-helper already contains code to look for this version
number, but it doesn't work if you set only SUPERMIN_KERNEL
environment variable:

  select kernel /dev/.initramfs/live/vmlinuz0
  supermin-helper: cannot guess module path.

There is a possibly superfluous test in helper/kernel.c:
create_kernel_from_env which stops this from working.  It
should be possible to fix this fairly easily.

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

febootstrap in RHEL 6.4
also likely affects supermin upstream

Additional information:

Comment 1 Jaroslav Reznik 2015-03-03 15:13:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:

Note You need to log in before you can comment on or make changes to this bug.