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.
Created attachment 1165534[details]
Backpored fix from rhel 7.2 kmod package
Description of problem:
After upate to 6.8 updating kernel causes following warnings on removal of old kernel:
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates failed: No such file or directory
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.order failed: No such file or directory
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.networking failed: No such file or directory
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.modesetting failed: No such file or directory
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.drm failed: No such file or directory
warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.block failed: No such file or directory
This bug is only about first line in these warnings.
weak-modules script remove directory owned by kernel package causing this warning from rpm.
Source rpm is crap. It has patched weak-modules file in it and when you try to build it it try to patch weak-modules file again. If you want to patch Source file in rpm you must really copy it to buildroot or something before you patch it so that file in sourcedir won't change at build time.
I'll let you know if actual weak-modules change work but testing is kind of painful because it requires installing older kernels to a system and then running kenrel updates.
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-2017-0772.html
Created attachment 1165534 [details] Backpored fix from rhel 7.2 kmod package Description of problem: After upate to 6.8 updating kernel causes following warnings on removal of old kernel: warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.order failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.networking failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.modesetting failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.drm failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.block failed: No such file or directory This bug is only about first line in these warnings. weak-modules script remove directory owned by kernel package causing this warning from rpm.