Hide Forgot
Description of problem: There is Segmentation fault when ipmi service is stopped Version-Release number of selected component (if applicable): ipmitool-1.8.11-9.el6.i686 How reproducible: always Steps to Reproduce: # /etc/init.d/ipmi stop Stopping ipmi drivers: [ OK ] # /etc/init.d/ipmi status ipmi_msghandler module not loaded. ipmi_si module not loaded. ipmi_devintf module not loaded. /dev/ipmi0 does not exist. # ipmitool sol payload status 2x1 1 Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory Segmentation fault # tail /var/log/messages Jul 27 05:23:13 cisco-b200m1-02 kernel: ipmitool[21416]: segfault at 404 ip 0805bbc4 sp bffcce70 error 4 in ipmitool[8048000+8a000] Jul 27 05:23:18 cisco-b200m1-02 kernel: ipmitool[21418]: segfault at 404 ip 0805bbc4 sp bfdbb250 error 4 in ipmitool[8048000+8a000] Jul 27 05:24:10 cisco-b200m1-02 kernel: ipmi message handler version 39.2 Jul 27 05:24:10 cisco-b200m1-02 kernel: IPMI System Interface driver. Jul 27 05:24:10 cisco-b200m1-02 kernel: ipmi_si: Adding SMBIOS-specified kcs state machine Jul 27 05:24:10 cisco-b200m1-02 kernel: ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0 Jul 27 05:24:10 cisco-b200m1-02 kernel: ipmi: Found new BMC (man_id: 0x00168b, prod_id: 0x0000, dev_id: 0x20) Jul 27 05:24:10 cisco-b200m1-02 kernel: IPMI kcs interface initialized Jul 27 05:24:10 cisco-b200m1-02 kernel: ipmi device interface Jul 27 05:24:52 cisco-b200m1-02 kernel: ipmitool[21497]: segfault at 404 ip 0805bbc4 sp bfbdb740 error 4 in ipmitool[8048000+8a000] Actual results: segmentation fault Expected results: no segmentation fault, only error message Additional info:
*** Bug 735283 has been marked as a duplicate of this bug. ***
just for the record, I've just hit this issue while testing 2011:12289 ... I'm not sure if this doesn't deserve the "Regression" keyword as this has already been fixed in RHEL-5 (bug #311231 and bug #514218) and now it is broken again in RHEL-6 ...
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: The commands 'ipmitool sol payload' and 'ipmitool sel' accepted incorrect argument values. With this update, argument values are validated.
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-2012-0875.html