Red Hat Bugzilla – Bug 470805
Allow passing hexadecimal ids to "ipmitool sel delete"
Last modified: 2009-09-02 05:59:24 EDT
+++ This bug was initially created as a clone of Bug #456246 +++
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.
--- Additional comment from email@example.com on 2008-10-24 03:51:34 EDT ---
I can see it was sent upstream, with with no response...
The patch was finally accepted upstream.
Fixed by rebase to ipmitool-1.8.11
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.