Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
When customer builds any package using the following command, he is given a kABI compatibility warning:
# rpmbuild -bb SPECS/hello.spec
Version-Release number of selected component (if applicable):
9.1.0-63-el7
How reproducible:
Very easily
Steps to Reproduce:
1. Install redhat-rpm-config
2. Try to build package: rpmbuild -bb SPECS/hello.spec
3. Review error, below
Actual results:
$ rpmbuild -bb SPECS/hello.spec
[...]
Finding Requires: /usr/lib/rpm/redhat/find-requires
********************************************************************************
*********************** KERNEL ABI COMPATIBILITY WARNING ***********************
********************************************************************************
The kernel ABI reference files (provided by kabi-whitelists) were not found.
No compatibility check was performed. Please install the kABI reference files
and rebuild if you would like to verify compatibility with kernel ABI.
[...]
==============
Examining "/usr/lib/rpm/redhat/find-requires.ksyms", it looks for the
kabi whitelist under "/lib/modules/kabi/kabi_whitelist_$arch". However,
there is no such path:
==============
$ rpm -qf /usr/lib/rpm/redhat/find-requires.ksyms
redhat-rpm-config-9.1.0-63.el7.noarch
$ rpm -q kernel-abi-whitelists
kernel-abi-whitelists-3.10.0-123.4.2.el7.noarch
$ ls -l /lib/modules
total 12
drwxr-xr-x. 6 root root 4096 Jun 11 18:40 3.10.0-123.1.2.el7.x86_64
drwxr-xr-x. 7 root root 4096 Jun 27 15:22 3.10.0-123.4.2.el7.x86_64
drwxr-xr-x. 2 root root 88 Jul 3 11:37 kabi-rhel70
==============
Expected results:
Expected that package will be properly built.
Additional info:
One can create a symlink to resolve the error: $ sudo ln -s kabi-rhel70 /lib/modules/kabi
But there appear to be some side-effects to doing that as well. See below:
===================
$ rpmbuild -bb SPECS/hello.spec
[...]
Finding Requires: /usr/lib/rpm/redhat/find-requires
********************************************************************************
*********************** KERNEL ABI COMPATIBILITY WARNING ***********************
********************************************************************************
The following kernel symbols are not guaranteed to remain compatible with
future kernel updates to this RHEL release:
__fentry__
module_layout
[...]
$ rpm -qf /usr/lib/rpm/redhat/find-requires.ksyms
redhat-rpm-config-9.1.0-63.el7.noarch
$ rpm -q kernel-abi-whitelists
kernel-abi-whitelists-3.10.0-123.4.2.el7.noarch
===================
At least the "module_layout" symbol is in the RHEL6.5 kabi whitelist:
===================
$ egrep '__fentry__|module_layout' /lib/modules/kabi-rhel65/kabi_whitelist_x86_64
module_layout
$
Hi all,
I think the path might be wrong. It should be:
ls /lib/modules/kabi-*
/lib/modules/kabi-current:
kabi_whitelist_ppc64 kabi_whitelist_s390x kabi_whitelist_x86_64
/lib/modules/kabi-rhel70:
kabi_whitelist_ppc64 kabi_whitelist_s390x kabi_whitelist_x86_64
/lib/modules/kabi-rhel71:
kabi_whitelist_ppc64 kabi_whitelist_s390x kabi_whitelist_x86_64
not /lib/modules/kabi/kabi_whitelist_$arch
Thanks.
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-0567.html
Description of problem: When customer builds any package using the following command, he is given a kABI compatibility warning: # rpmbuild -bb SPECS/hello.spec Version-Release number of selected component (if applicable): 9.1.0-63-el7 How reproducible: Very easily Steps to Reproduce: 1. Install redhat-rpm-config 2. Try to build package: rpmbuild -bb SPECS/hello.spec 3. Review error, below Actual results: $ rpmbuild -bb SPECS/hello.spec [...] Finding Requires: /usr/lib/rpm/redhat/find-requires ******************************************************************************** *********************** KERNEL ABI COMPATIBILITY WARNING *********************** ******************************************************************************** The kernel ABI reference files (provided by kabi-whitelists) were not found. No compatibility check was performed. Please install the kABI reference files and rebuild if you would like to verify compatibility with kernel ABI. [...] ============== Examining "/usr/lib/rpm/redhat/find-requires.ksyms", it looks for the kabi whitelist under "/lib/modules/kabi/kabi_whitelist_$arch". However, there is no such path: ============== $ rpm -qf /usr/lib/rpm/redhat/find-requires.ksyms redhat-rpm-config-9.1.0-63.el7.noarch $ rpm -q kernel-abi-whitelists kernel-abi-whitelists-3.10.0-123.4.2.el7.noarch $ ls -l /lib/modules total 12 drwxr-xr-x. 6 root root 4096 Jun 11 18:40 3.10.0-123.1.2.el7.x86_64 drwxr-xr-x. 7 root root 4096 Jun 27 15:22 3.10.0-123.4.2.el7.x86_64 drwxr-xr-x. 2 root root 88 Jul 3 11:37 kabi-rhel70 ============== Expected results: Expected that package will be properly built. Additional info: One can create a symlink to resolve the error: $ sudo ln -s kabi-rhel70 /lib/modules/kabi But there appear to be some side-effects to doing that as well. See below: =================== $ rpmbuild -bb SPECS/hello.spec [...] Finding Requires: /usr/lib/rpm/redhat/find-requires ******************************************************************************** *********************** KERNEL ABI COMPATIBILITY WARNING *********************** ******************************************************************************** The following kernel symbols are not guaranteed to remain compatible with future kernel updates to this RHEL release: __fentry__ module_layout [...] $ rpm -qf /usr/lib/rpm/redhat/find-requires.ksyms redhat-rpm-config-9.1.0-63.el7.noarch $ rpm -q kernel-abi-whitelists kernel-abi-whitelists-3.10.0-123.4.2.el7.noarch =================== At least the "module_layout" symbol is in the RHEL6.5 kabi whitelist: =================== $ egrep '__fentry__|module_layout' /lib/modules/kabi-rhel65/kabi_whitelist_x86_64 module_layout $