Werk #2492: check_mk_agent.linux: avoid problems with crashing waitmax after Ubuntu update
Komponente | Checks & agents |
Titel | check_mk_agent.linux: avoid problems with crashing waitmax after Ubuntu update |
Datum | 11.08.2015 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.7i3 |
Level | Bedeutende Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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...