Bug 456246 - Allow passing hexadecimal ids to "ipmitool sel delete"
Allow passing hexadecimal ids to "ipmitool sel delete"
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: OpenIPMI (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Jan Safranek
Depends On:
Blocks: 391511 470805
  Show dependency treegraph
Reported: 2008-07-22 10:02 EDT by Olivier Fourdan
Modified: 2013-03-03 21:47 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-05-18 16:08:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Allow passing hex values to "ipmitool sel delete" (552 bytes, patch)
2008-07-22 10:03 EDT, Olivier Fourdan
no flags Details | Diff

  None (edit)
Description Olivier Fourdan 2008-07-22 10:02:12 EDT
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):


How reproducible:

100% reproducible

Steps to Reproduce:
1.List SEL entries with
  # ipmitool sel list
2. Try to delete one of the entries
  # ipmitool sel delete 0x0100
Actual results:

Unable to delete entry 0: Invalid command

Expected results:

Unable to delete entry 256: Invalid command

Additional info:

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.
Comment 1 Olivier Fourdan 2008-07-22 10:03:06 EDT
Created attachment 312346 [details]
Allow passing hex values to "ipmitool sel delete"
Comment 2 Phil Knirsch 2008-07-24 10:30:34 EDT
Devel ack for RHEL-4.8.

Read ya, Phil
Comment 3 RHEL Product and Program Management 2008-09-05 13:18:40 EDT
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
Comment 6 Jan Safranek 2008-10-24 03:51:34 EDT
I can see it was sent upstream, with with no response...

Comment 9 Jan Safranek 2009-01-15 04:30:14 EST
The patch was finally accepted upstream.
Comment 14 errata-xmlrpc 2009-05-18 16:08:55 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.