check_load hardcodes path to 'uptime' (#1394)

Tomas Mozes notifications at github.com
Fri Nov 20 06:51:13 CET 2015


The path to 'uptime' binary is hardcoded when compiling monitoring-plugins.
This can break the plugin:

- during compilation, put uptime to /usr/bin/uptime
- check_load works fine
- an updated 'uptime' binary can be put into /bin/uptime
- check_load fails

This was reported in Gentoo Linux:
https://bugs.gentoo.org/show_bug.cgi?id=565500

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20151119/c2ebbd89/attachment.html>


More information about the Devel mailing list