Werk #5017: check_mk_agent: Fixed false positive error messages while installing rpm from bakery

ComponentAgent Bakery
Titlecheck_mk_agent: Fixed false positive error messages while installing rpm from bakery
Date2017-09-20 11:28:11
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.5.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

Previously a rpm package of the linux agent assumed sysvinit while checking for xinetd to be installed. The check failed if systemd was the init system. This affects only rpm packages built by agent bakery.

Now the rpm packages verifies the presence of xinetd by looking for the presence of the binary (/usr/sbin/xinetd) which seems to be less error-prone.