Bug 1341735

Summary: OpenIPMI-modalias install scriptlet failure - /bin/touch: cannot touch ‘/var/run/OpenIPMI/first_installation’: No such file or directory warning
Product: Red Hat Enterprise Linux 7 Reporter: Rachel Sibley <rasibley>
Component: OpenIPMIAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: hhan, rasibley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: OpenIPMI-2.0.19-15.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 01:04:41 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: 1380364    

Description Rachel Sibley 2016-06-01 16:03:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):
# rpm -q OpenIPMI-modalias
OpenIPMI-modalias-2.0.19-14.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. yum install OpenIPMI-modalias
2.
3.

Actual results:
Installing : OpenIPMI-modalias-2.0.19-14.el7.x86_64                                                                                                                    1/1 
/bin/touch: cannot touch ‘/var/run/OpenIPMI/first_installation’: No such file or directory
warning: %post(OpenIPMI-modalias-2.0.19-14.el7.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package OpenIPMI-modalias-2.0.19-14.el7.x86_64

Expected results:
No failure/warning message generated

Additional info:
]# uname -r
3.10.0-418.el7.x86_64

~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 Beta (Maipo)

~]# yum install OpenIPMI-modalias
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package OpenIPMI-modalias.x86_64 0:2.0.19-14.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                                       Arch                               Version                                    Repository                                 Size
=============================================================================================================================================================================
Installing:
 OpenIPMI-modalias                             x86_64                             2.0.19-14.el7                              beaker-Server                              14 k

Transaction Summary
=============================================================================================================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 210  
Is this ok [y/d/N]: y
Downloading packages:
OpenIPMI-modalias-2.0.19-14.el7.x86_64.rpm                                                                                                            |  14 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : OpenIPMI-modalias-2.0.19-14.el7.x86_64                                                                                                                    1/1 
/bin/touch: cannot touch ‘/var/run/OpenIPMI/first_installation’: No such file or directory
warning: %post(OpenIPMI-modalias-2.0.19-14.el7.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package OpenIPMI-modalias-2.0.19-14.el7.x86_64
  Verifying  : OpenIPMI-modalias-2.0.19-14.el7.x86_64                                                                                                                    1/1 

Installed:
  OpenIPMI-modalias.x86_64 0:2.0.19-14.el7                                                                                                                                   

Complete!

Comment 5 Rachel Sibley 2016-06-08 19:08:08 UTC
ALL TESTS PASSED

Verified as passed, no longer seeing install scriptlet failure with OpenIPMI-modalias-2.0.19-15.el7.x86_64.rpm

Before
========================
~]# yum install -y OpenIPMI-modalias-2.0.19-14.el7.x86_64.rpm
....
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : OpenIPMI-modalias-2.0.19-14.el7.x86_64                                                                                                                    1/1
/bin/touch: cannot touch ‘/var/run/OpenIPMI/first_installation’: No such file or directory
warning: %post(OpenIPMI-modalias-2.0.19-14.el7.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package OpenIPMI-modalias-2.0.19-14.el7.x86_64
......
  Verifying  : OpenIPMI-modalias-2.0.19-14.el7.x86_64                                                                                                                    1/1

Installed:
  OpenIPMI-modalias.x86_64 0:2.0.19-14.el7                                                                                                                                  

Complete!


After
========================
 ~]# yum install -y http://download.eng.bos.redhat.com/brewroot/packages/OpenIPMI/2.0.19/15.el7/x86_64/OpenIPMI-modalias-2.0.19-15.el7.x86_64.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
....
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : OpenIPMI-modalias-2.0.19-15.el7.x86_64                                                                                                                    1/1
  Verifying  : OpenIPMI-modalias-2.0.19-15.el7.x86_64                                                                                                                    1/1

Installed:
  OpenIPMI-modalias.x86_64 0:2.0.19-15.el7                                                                                                                                  

Complete!

Comment 7 Rachel Sibley 2016-10-20 12:12:48 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:41 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

Comment 10 Josef Ridky 2017-03-22 07:53:20 UTC
*** Bug 1327945 has been marked as a duplicate of this bug. ***