RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 909573 - patch libguestfs to use 'supermin' instead of 'febootstrap' in RHEL 7
Summary: patch libguestfs to use 'supermin' instead of 'febootstrap' in RHEL 7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 909572
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-09 14:10 UTC by Richard W.M. Jones
Modified: 2014-06-18 01:59 UTC (History)
3 users (show)

Fixed In Version: 1:libguestfs-1.20.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 909572
Environment:
Last Closed: 2014-06-13 11:06:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-02-09 14:10:56 UTC
+++ This bug was initially created as a clone of Bug #909572 +++

Description of problem:

Last week I renamed the upstream project 'supermin'[1], and
submitted a new package for Fedora 19.  We should probably
also rename the RHEL 7 package, although it's not the end of
the world if we don't do that.  This will also require a small
change to libguestfs[2].

[1] https://www.redhat.com/archives/libguestfs/2013-February/msg00004.html
[2] https://github.com/libguestfs/libguestfs/commit/a0a4ee5245afdb7961d39b243439b902229dd599

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

supermin 4.1.1

--- Additional comment from Richard W.M. Jones on 2013-02-09 09:09:52 EST ---

Should the component be "distribution"?

Comment 2 Richard W.M. Jones 2013-02-11 10:51:20 UTC
Blocked waiting for supermin to appear in RHEL 7.0 buildroot.

Comment 3 Wei Shi 2013-02-27 07:07:47 UTC
(In reply to comment #2)
> Blocked waiting for supermin to appear in RHEL 7.0 buildroot.

Appeared in RHEL-7.0-20130226.0, test passed.
PS: seabios needs to install manually because it is not in the tree and even not a dependency for our packages.

# libguestfs-test-tool 
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
SELinux: Enforcing
library version: 1.20.2rhel=7,release=1.el7,libvirt
guestfs_get_append: (null)
guestfs_get_attach_method: libvirt
...
...
...
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/3.8.0-0.37.el7.x86_64 is a directory
picked vmlinuz-3.8.0-0.37.el7.x86_64 because modpath /lib/modules/3.8.0-0.37.el7.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00005ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00008ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00416ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [00422ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img
supermin helper [00426ms] adding kernel modules
supermin helper [00519ms] finished creating appliance
libguestfs: checksum of existing appliance: 043ac9f2d04304ad32ed600a7b98e51313b3fa926354ea394baec307c051757d
libguestfs: [00619ms] begin building supermin appliance
libguestfs: [00619ms] run supermin-helper
libguestfs: command: run: supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --copy-kernel
...
...
...
umount /sysroot
fsync /dev/sda
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 1a | 00 00 00 01 | 00 12 34 04 | ...
libguestfs: closing guestfs handle 0x1cc6320 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs2ZCsfD
===== TEST FINISHED OK =====


# rpm -q libguestfs
libguestfs-1.20.2-1.el7.x86_64
# rpm -q supermin-helper
supermin-helper-4.1.1-1.el7.x86_64

Comment 4 Richard W.M. Jones 2013-02-27 10:27:48 UTC
(In reply to comment #3)
> PS: seabios needs to install manually because it is not in the tree and even
> not a dependency for our packages.

Yup -- I filed that as a bug a while back: bug 901542.

Comment 5 bfan 2013-06-17 07:16:47 UTC
Verified with :

[root]# rpm -q libguestfs
libguestfs-1.22.2-1.el7.x86_64
[root]# rpm -q supermin-helper
supermin-helper-4.1.1-1.el7.x86_64


[root]# libguestfs-test-tool > text 2>&1
[root]# grep supermin text
libguestfs: command: run: supermin-helper
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00029ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [00029ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img
supermin helper [00029ms] adding kernel modules
supermin helper [00063ms] finished creating appliance
supermin: mounting /proc
supermin: uptime: 0.54 0.15
supermin: ext2 mini initrd starting up: 4.1.1 zlib
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm
supermin: mounting /sys
supermin: internal insmod libcrc32c.ko
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc32.ko
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc-t10dif.ko
supermin: internal insmod crc8.ko
supermin: internal insmod cdrom.ko
supermin: internal insmod sr_mod.ko
supermin: internal insmod libata.ko
supermin: internal insmod ata_piix.ko
supermin: internal insmod sd_mod.ko
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod rfkill.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod ideapad-laptop.ko
supermin: internal insmod virtio_mmio.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_net.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
supermin: chroot

TEST FINISHED OK, change the status to verified

Comment 6 Ludek Smid 2014-06-13 11:06:30 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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