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 1909441 - kmod packages for Driver Update Program built for RHEL 8 need fixing due to symvers.gz move
Summary: kmod packages for Driver Update Program built for RHEL 8 need fixing due to s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: Driver Update Disk
Version: 8.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Eugene Syromiatnikov
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-20 00:47 UTC by Akemi Yagi
Modified: 2021-02-23 13:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-09 13:26:29 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Akemi Yagi 2020-12-20 00:47:53 UTC
All kmod packages provided as DUP in RHEL-8 need fixing because symvers.gz has been moved. 

kmod-redhat-bnxt_en.x86_64             1.10.0_dup8.1-2.el8_1           
kmod-redhat-btusb.x86_64               0.8_4.18.0_80.23_dup8.0-4.el8_0 
kmod-redhat-btusb-firmware.x86_64      21.10.0.6_dup8.0-4.el8_0       
kmod-redhat-ice.x86_64                 0.8.2_k_dup8.2-1.el8_2         
kmod-redhat-ice-firmware.x86_64        1.3.4.0_dup8.2-1.el8_2         
kmod-redhat-ionic.x86_64               4.18.0.210_dup8.2-2.el8_2      
kmod-redhat-iwlwifi.x86_64             4.18.0_107_dup8.0-5.el8_0      
kmod-redhat-iwlwifi-devel.x86_64       4.18.0_107_dup8.0-5.el8_0      
kmod-redhat-iwlwifi-firmware.x86_64    20190516_dup8.0-5.el8_0        
kmod-redhat-mlx5_core.x86_64           5.0_0_dup8.2-2.el8_2           
kmod-redhat-mlx5_core-devel.x86_64     5.0_0_dup8.2-2.el8_2           

In RHEL-8, symvers.gz was moved from /boot to /lib/modules as shown in the kernel changelog:

* Mon Aug 13 2018 Herton R. Krzesinski <herton> [4.18.0-1.el8]

- [rpmspec] Copy symvers.gz to /lib/modules (Eugene Syromiatnikov) [1609695]

The %posttrans section of the kernel spec file has the following:

                # The same check as in weak-modules: we assume that the kernel present
                # if the symvers file exists.
                if [ -e "/boot/symvers-$k.gz" ]; then
                        /usr/bin/dracut -f "$tmp_initramfs" "$k" || exit 1
                        cmp -s "$tmp_initramfs" "$dst_initramfs"
                        if [ "$?" = 1 ]; then
                                mv "$tmp_initramfs" "$dst_initramfs"
                        else
                                rm -f "$tmp_initramfs"
                        fi
                fi

This issue was originally reported by an ELRepo user:

https://elrepo.org/bugs/view.php?id=1060

As shown in our bug tracker, we (ELRepo) propose to fix this by changing the line:

if [ -e "/boot/symvers-$k.gz" ]; then

to

if [ -e "$k_dir/symvers.gz" ]; then

Comment 1 Akemi Yagi 2020-12-20 00:58:43 UTC
Oops, %posttrans section of the kmod spec, not kernel spec.

Comment 4 Eugene Syromiatnikov 2021-02-09 13:26:29 UTC
Summary: the issue is fixed in the ddiskit script used to generate DUPs, an additional testing step is to be added to check that the issue won't re-appear in future DUPs.  The issue in the following released RHEL 8 DUPs has been handled as follows:
 * kmod-redhat-btusb-0.8_4.18.0_80.23_dup8.0-4.el8_0: not updated, the change didn't meet the criteria to push an update to RHEL 8.0;
 * kmod-redhat-iwlwifi-4.18.0_107_dup8.0-5.el8_0: not updated, the change didn't meet the criteria to push an update to RHEL 8.0;
 * kmod-redhat-bnxt_en-1.10.0_dup8.1-2.el8_1: not updated, the change didn't meet the criteria to push an update to RHEL 8.1;
 * kmod-redhat-ice-0.8.2_k_dup8.2-1.el8_2: an updated kmod-redhat-ice-0.8.2_k_dup8.2-2.el8_2[1] has been released;
 * kmod-redhat-ionic-4.18.0.210_dup8.2-2.el8_2: an updated kmod-redhat-ionic-4.18.0.210_dup8.2-3.el8_2[2] has been released;
 * kmod-redhat-mlx5_core-5.0_0_dup8.2-2.el8_2: an updated kmod-redhat-mlx5_core-5.0_0_dup8.2-3.el8_2[3] has been released;
 * kmod-redhat-ena-2.1.0K_dup8.3-1.el8_3: an update that includes the fix is planned to be released in the future;
 * kmod-redhat-oracleasm-2.0.8-1.el8_3: not updated, the kmod is not used during early boot;
 * kmod-redhat-mpt3sas-35.101.00.00_dup8.3-1.el8_3: the package has been released with the %posttrans script fix already present.

ISOs haven't been updated as those are primarily used during installation where the issue is not manifested.

A KB article[4] has been prepared to cover the issue, provide a workaround, and point to the updates where possible (it seems to be not yet published, though).

I am closing the issue as fixed;  if you think that any further action is needed, feel free to re-open it.

[1] https://access.redhat.com/errata/RHBA-2021:0212
[2] https://access.redhat.com/errata/RHBA-2021:0211
[3] https://access.redhat.com/errata/RHBA-2021:0213
[4] https://access.redhat.com/solutions/5681371

Comment 5 Phil Perry 2021-02-09 13:37:46 UTC
Thanks for the update.

I do not have permissions to access the KB article you link (https://access.redhat.com/solutions/5681371) even when logged in with RH account. Error is:


Access Denied

You do not have permission to access the page you requested.


Please could you fix the permissions.

Comment 6 Eugene Syromiatnikov 2021-02-23 13:46:24 UTC
(In reply to Phil Perry from comment #5)
> Thanks for the update.
> 
> I do not have permissions to access the KB article you link
> (https://access.redhat.com/solutions/5681371) even when logged in with RH
> account. Error is:
> 
> 
> Access Denied
> 
> You do not have permission to access the page you requested.
> 
> 
> Please could you fix the permissions.

It is published now, my apologies for the delay.


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