Hide Forgot
Description of problem: OpenIPMI-modalias RPM owns /var/run/OpenIPMI, but /var/run in RHEL7 points to /run which is in tmpfs. For this reason the "rpm verify" of OpenIPMI-modalias will fail. Version-Release number of selected component (if applicable): OpenIPMI-modalias-2.0.19-11.el7.x86_64 How reproducible: always Steps to Reproduce: # rpm -qa|grep OpenIPMI OpenIPMI-modalias-2.0.19-11.el7.x86_64 # rpm -ql OpenIPMI-modalias /etc/modprobe.d/OpenIPMI.conf /var/run/OpenIPMI # rpm -V OpenIPMI-modalias missing /var/run/OpenIPMI # Actual results: rpm verify fails Expected results: rpm verify succeeds Additional info: need to use tmpfiles for /var/run/OpenIPMI
We can simply stop manually installing the directory in %install phase and then we won't have to package it at all. The creation of that directory is handled by systemd just fine.
ALL TESTS PASSED Before ========================== # uname -r 3.10.0-327.el7.x86_64 # rpm -qa|grep OpenIPMI OpenIPMI-libs-2.0.19-11.el7.x86_64 OpenIPMI-2.0.19-11.el7.x86_64 # rpm -ql OpenIPMI-modalias /etc/modprobe.d/OpenIPMI.conf /var/run/OpenIPMI # rpm -V OpenIPMI-modalias missing /var/run/OpenIPMI After ========================== # uname -r 3.10.0-408.el7.x86_64 # rpm -qa|grep OpenIPMI OpenIPMI-libs-2.0.19-14.el7.x86_64 OpenIPMI-2.0.19-14.el7.x86_64 OpenIPMI-modalias-2.0.19-14.el7.x86_64 # rpm -ql OpenIPMI-modalias /usr/lib/modprobe.d/OpenIPMI.conf # rpm -V OpenIPMI-modalias #
Moving back to Verified State as it was incorrectly moved back to Assigned when switching the package owner.
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-2016-2225.html