When a password is not specified on the command line via the -P flag, ipmitool prompts for a password then exits with a segmentation fault 11. If the password is specified on the command line, the ipmit command will execute properly. This means admin passwords are being left in shell history and I have to remember to constantly erase them.
Example failure:
ipmitool -H ipmi.server.company.com -U admin power status
Password:
Segmentation fault: 11
Example success:
ipmitool -H ipmi.server.company.com -U admin -P paSSW0rd power status
Chassis Power is off
Hello,
unfortnunately, this is caused by C99 compiler flag and missing macros. It can be workedaround/fixed by using GNU99 instead of C99 compiler flag. Sorry for inconvenience.
I'm closing this as a duplicate of https://sourceforge.net/p/ipmitool/bugs/434/ and https://sourceforge.net/p/ipmitool/bugs/432/
Z.