Bug 740780

Summary: ipmitool -o list return always 1
Product: Red Hat Enterprise Linux 5 Reporter: Petr Sklenar <psklenar>
Component: OpenIPMIAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 5.7CC: azelinka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, exit code of 'ipmitool -o list' was not set correctly and the command returned 1. In this update, 'ipmitool -o list' is fixed and returns zero exit code.
Story Points: ---
Clone Of: 715615 Environment:
Last Closed: 2013-01-08 04:52:22 UTC Type: ---
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: 715615    
Bug Blocks:    

Description Petr Sklenar 2011-09-23 10:22:48 UTC
+++ This bug was initially created as a clone of Bug #715615 +++

Description of problem:
ipmitool -o list return always 1

Version-Release number of selected component (if applicable):
ipmitool-1.8.11-7.el6.i686

How reproducible:
deterministic

Steps to Reproduce:
[root@test02-64 ipmitool]# ipmitool -o list

OEM Support:
        supermicro   Supermicro IPMIv1.5 BMC with OEM LAN authentication support
        intelwv2     Intel SE7501WV2 IPMIv1.5 BMC with extra LAN communication support
        intelplus    Intel IPMI 2.0 BMC with RMCP+ communication support
        icts         IPMI 2.0 ICTS compliance support
        ibm          IBM OEM support

[root@test02-64 ipmitool]# echo $?
1
[root@test02-64 ipmitool]# rpm -qf `which ipmitool`
ipmitool-1.8.11-7.el6.i686

 
Actual results:
echo $? = 1

Expected results:
echo $? = 0

Additional info:

--- Additional comment from jsafrane on 2011-06-28 03:55:02 EDT ---

Patch sent upstream: http://news.gmane.org/find-root.php?message_id=%3c20110628074810.18239.91811.stgit%40bublifuk.brq.redhat.com%3e

--- Additional comment from pm-rhel on 2011-07-05 19:59:01 EDT ---

This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 2 RHEL Program Management 2012-04-19 11:48:38 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Jan Safranek 2012-05-31 10:47:34 UTC
patch re-sent upstream: https://sourceforge.net/mailarchive/message.php?msg_id=29341119

Comment 4 Jan Safranek 2012-05-31 10:47:34 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, exit code of 'ipmitool -o list' was not set correctly and the command returned 1. In this update, 'ipmitool -o list' is fixed and returns zero exit code.

Comment 5 Jan Safranek 2012-06-11 08:03:21 UTC
Patches were accepted

Comment 10 errata-xmlrpc 2013-01-08 04:52:22 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.

http://rhn.redhat.com/errata/RHSA-2013-0123.html