Description of problem:
1. General RPM installation goes fine.
2. If we try to upgrade the RPM to newer version, following error is thrown on screen.
/sbin/weak-modules: line 174: /tmp/weak-modules.r3srrj/old_initramfs/./usr/lib/modules/3.10.0-327.el7.x86_64/extra/netxtreme2/bnx2.ko: Permission denied
3. However, installation is successful.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RPM with old version
2. Upgrade RPM to newer version
3. Observe the error
Error seen on screen.
Error should not be seen.
Attached: old RPM, new RPM, SRC RPM, SPEC file
Created attachment 1244398 [details]
Created attachment 1244400 [details]
Created attachment 1244401 [details]
Created attachment 1244402 [details]
The error does not come from rpm but /sbin/weak-modules script. Whether it's a bug in there I have no idea, but reassigning to kmod which should be closer to the mark at least.
Was a fix for this made? If so, what version?
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.