Red Hat Bugzilla – Bug 456246
Allow passing hexadecimal ids to "ipmitool sel delete"
Last modified: 2013-03-03 21:47:04 EST
Description of problem:
"ipmitool sel list" list entries with the id in hexadecimal, but the "ipmitool
sel delete" does not parse hexadecimal values, which cause some confusion.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.List SEL entries with
# ipmitool sel list
2. Try to delete one of the entries
# ipmitool sel delete 0x0100
Unable to delete entry 0: Invalid command
Unable to delete entry 256: Invalid command
The "Delete SEL command" is not available on all IPMI implementations (thus the
need for the "Get SEL Info Command" as defined in the IPMI 2.0 specification
that indicates if the delete command is available), but nevertheless "ipmitool
sel delete" command should be able to parse hexadecimal values to match the
output of "ipmitool sel list".
The (very simple) patch attached adds this functionality.
Created attachment 312346 [details]
Allow passing hex values to "ipmitool sel delete"
Devel ack for RHEL-4.8.
Read ya, Phil
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
I can see it was sent upstream, with with no response...
The patch was finally accepted upstream.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.