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.

Bug 1296560

Summary: OpenIPMI-modalias RPM owns /var/run/OpenIPMI, but /var/run is tmpfs, need to use tmpfiles
Product: Red Hat Enterprise Linux 7 Reporter: giulioo
Component: OpenIPMIAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jstodola, rasibley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: OpenIPMI-2.0.19-12.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 01:04:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1256306, 1289025, 1305230    

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