Hi,
It looks like the "ipmievd sel" segmentation fault I emailed the
list about on 1/31 is part of a patch Duncan added on 8/18/2006
to add the "prefix hostname on sel ipmievd sessions". So, since
Duncan probably won't be able to look into the problem himself, I
am attaching a patch to fix the issue. Please respond with any
questions, comments, concerns, etc.
Thanks,
Carol Hebert
----------------
--- ipmitool-1.8.8.90.orig/src/ipmievd.c 2006-09-14 09:20:59.000000000 -0700
+++ ipmitool-1.8.8.90/src/ipmievd.c 2007-02-06 07:12:48.000000000 -0800
@@ -738,9 +739,11 @@
eintf->intf = intf;
- snprintf(eintf->prefix,
- strlen((const char *)intf->session->hostname) + 3,
- "%s: ", intf->session->hostname);
+ if (intf->session != NULL) {
+ snprintf(eintf->prefix,
+ strlen((const char *)intf->session->hostname) + 3,
+ "%s: ", intf->session->hostname);
+ }
return ipmievd_main(eintf, argc, argv);
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel