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 1170369 - kpatch: "kpatch install" is broken due to missing dracut dependencies
Summary: kpatch: "kpatch install" is broken due to missing dracut dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kpatch
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Josh Poimboeuf
QA Contact: Linqing Lu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-03 22:20 UTC by Josh Poimboeuf
Modified: 2015-03-05 13:40 UTC (History)
2 users (show)

Fixed In Version: kpatch-0.1.10-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:40:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0296 0 normal SHIPPED_LIVE kpatch bug fix and enhancement update 2015-03-05 17:33:13 UTC

Description Josh Poimboeuf 2014-12-03 22:20:20 UTC
Description of problem:

Running "kpatch install" fails to load the patch module after a reboot.  The syslog shows the following errors:

Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: /usr/sbin/kpatch: line 125: readelf: command not found
Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: /usr/sbin/kpatch: line 125: awk: command not found
Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: cat: /sys/kernel/kpatch/patches//enabled: No such file or directory
Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: /usr/sbin/kpatch: line 125: readelf: command not found
Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: /usr/sbin/kpatch: line 125: awk: command not found
Dec 03 16:47:49 hp-dl160gen8-02.khw.lab.eng.bos.redhat.com dracut-pre-udev[404]: kpatch: error: cannot re-enable patch module , cannot verify checksum match

This is a regression caused by bug 1148852.  Some new dependencies (readelf and awk) were added to the kpatch script, but the kpatch dracut module code wasn't updated to specify them.

Version-Release number of selected component (if applicable):
kpatch-0.1.10-3.el7.noarch

How reproducible:
kpatch install and reboot

Steps to Reproduce:
1. yum install http://download.devel.redhat.com/brewroot/work/tasks/8247/8328247/kpatch-patch-7.1-0.210.el7.x86_64.rpm
2. yum install http://download.eng.bos.redhat.com/redhat/brewroot/packages/kernel/3.10.0/210.el7/x86_64/kernel-3.10.0-210.el7.x86_64.rpm
3. reboot
4. kpatch list

Actual results:
The installed patch module is not loaded after a reboot.

Expected results:
The installed patch module is loaded after a reboot.

Additional info:
Fixed upstream with https://github.com/dynup/kpatch/pull/473

Comment 4 errata-xmlrpc 2015-03-05 13:40:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0296.html


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