diff --git a/ipmitool-1.8.12-activate-core.patch b/ipmitool-1.8.12-activate-core.patch new file mode 100644 index 0000000..d911ba6 --- /dev/null +++ b/ipmitool-1.8.12-activate-core.patch @@ -0,0 +1,13 @@ +diff -up ./lib/ipmi_sol.c.activate-core ./lib/ipmi_sol.c +--- ./lib/ipmi_sol.c.activate-core 2012-11-16 15:30:07.847679142 +0100 ++++ ./lib/ipmi_sol.c 2012-11-16 15:30:50.263695103 +0100 +@@ -163,8 +163,7 @@ ipmi_sol_payload_access_status(struct ip + rsp = intf->sendrecv(intf, &req); + + if (rsp == NULL) { +- lprintf(LOG_ERR, "Error: Unexpected data length (%d) received", +- rsp->data_len); ++ lprintf(LOG_ERR, "Error: No valid response.\n"); + return -1; + } + diff --git a/ipmitool.spec b/ipmitool.spec index 9dc3ffc..98cf3c0 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -1,7 +1,7 @@ Name: ipmitool Summary: Utility for IPMI control Version: 1.8.12 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Group: System Environment/Base URL: http://ipmitool.sourceforge.net/ @@ -27,6 +27,7 @@ Patch6: ipmitool-cvs-mc-sysinfo-dell.patch # https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550 Patch7: ipmitool-1.8.12-bigendian2.patch Patch8: ipmitool-1.8.12-ciper-suite-default.patch +Patch9: ipmitool-1.8.12-activate-core.patch %description This package contains a utility for interfacing with devices that support @@ -54,6 +55,7 @@ setting LAN configuration, and chassis power control. %patch6 -p1 -b .mcsysinfodell %patch7 -p1 -b .bigendian2 %patch8 -p1 -b .cip +%patch9 -p1 -b .noactivate for f in AUTHORS ChangeLog; do iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8 @@ -104,6 +106,9 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd %changelog +* Fri Nov 16 2012 Ales Ledvinka 1.8.12-7 +- failed sol session activation crashes while logging exit + * Fri Nov 16 2012 Ales Ledvinka 1.8.12-6 - revert default cipersuite back to 3 which includes integrity and confidentiality