Bug 826027
Summary: | ipmitool segfaults in ipmi_lanplus_send_payload | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Karel Volný <kvolny> |
Component: | ipmitool | Assignee: | Ales Ledvinka <aledvink> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.3 | CC: | abienven, azelinka, dgregor, jwest, mgrac, rbiba, tsmetana |
Target Milestone: | rc | Keywords: | Regression, ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
* In a previous ipmitool update, the new options "-R" and "-N" were added to adjust the retransmission rate of outgoing IPMI requests over LAN and lanplus interfaces. Implementation of these options set a wrong default value of the retransmission timeout, and an outgoing request timed out prematurely. In addition, in some corner cases, ipmitool could terminate unexpectedly with a segmentation fault when the timeout occurred. This update fixes the default timeout value, so ipmitool without the "-N" option retransmits outgoing IPMI requests as in previous versions, and crashes no longer occur in the described scenario.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-12 12:39:06 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: | 828678 |
Comment 5
Jan Safranek
2012-05-30 08:29:54 UTC
1) when using impitool delloem extensions, the new extended version crashes under some circumstances - when a connection cannot be established for some reason for example, the command: ipmitool -I lanplus -H $HOST -U $USERNAME -P wrongpassword delloem powermonitor fails like this: Error: Unable to establish IPMI v2 / RMCP+ session Segmentation fault (core dumped) this doesn't affect the function of the program under normal circumstances (if the connection is established) 2) with the new patch allowing to configure the timeout value, it happens that the default timeout is too low and the request fails, for example like this: # ipmitool -I lanplus -H $HOST -U $USERNAME -P $PASSWORD sensor list Unable to renew SDR reservation Close Session command failed: Reservation cancelled or invalid there is an easy workaround to specify the timeout explicitly using the new "-N" option, for example like this: # ipmitool -I lanplus -H $HOST -U $USERNAME -P $PASSWORD -N 4 sensor list CPU 1 Temp | na | degrees C | na | na | na | na | 85.000 | 90.000 | na CPU 2 Temp | na | degrees C | na | na | na | na | 85.000 | 90.000 | na ... 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: In the previous ipmitool update, new options '-R' and '-N' were added to adjust retransmission rate of outgoing IPMI requests over lan and lanplus interfaces. Implementation of these options set wrong default value of retransmission timeout and outgoing request timed out prematurely. In addition, in some corner cases, ipmitool could segfault when the timeout occurred. This update fixes the default timeout value and ipmitool without '-N' option retransmits outgoing IPMI requests as in previous versions. 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/RHBA-2013-1259.html |