Werk #2492: check_mk_agent.linux: avoid problems with crashing waitmax after Ubuntu update
| Component | Checks & agents | ||
| Title | check_mk_agent.linux: avoid problems with crashing waitmax after Ubuntu update | ||
| Date | Aug 11, 2015 | ||
| Level | Prominent Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Some users have reported that after an update of their Ubuntu target hosts, the command /usr/bin/waitmax, which is shipped with the Check_MK Agent, actually segfaults the program being run with it. This could be related to the fact that waitmax is statically linked in order to be independent of 32/64 bits and of the libc in use.
The agent now looks if /usr/bin/timeout exists and prefers that over waitmax. timeout has been introduced in the coreutils version 8+. It is missing e.g. on RedHat 5.X, so waitmax is still needed for a couple of years...