Bug 1296560 - OpenIPMI-modalias RPM owns /var/run/OpenIPMI, but /var/run is tmpfs, need to use tmpfiles
Summary: OpenIPMI-modalias RPM owns /var/run/OpenIPMI, but /var/run is tmpfs, need to ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: OpenIPMI
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Josef Ridky
QA Contact: Rachel Sibley
URL:
Whiteboard:
Depends On:
Blocks: 1256306 1289025 1305230
TreeView+ depends on / blocked
 
Reported: 2016-01-07 14:36 UTC by giulioo
Modified: 2017-02-09 08:56 UTC (History)
2 users (show)

Fixed In Version: OpenIPMI-2.0.19-12.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 01:04:24 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2225 0 normal SHIPPED_LIVE OpenIPMI bug fix update 2016-11-03 13:26:20 UTC

Description giulioo 2016-01-07 14:36:48 UTC
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

Comment 2 Boris Ranto 2016-01-07 15:46:43 UTC
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.

Comment 5 Rachel Sibley 2016-05-25 13:28:48 UTC
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
#

Comment 7 Rachel Sibley 2016-10-20 12:12:08 UTC
Moving back to Verified State as it was incorrectly moved back to Assigned when switching the package owner.

Comment 9 errata-xmlrpc 2016-11-04 01:04:24 UTC
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


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