Werk #6098: Raw Edition: Fixed broken "Check_MK" service when monitoring host named "cmk"

Component Core & setup
Title Raw Edition: Fixed broken "Check_MK" service when monitoring host named "cmk"
Date May 17, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In case a host named "cmk" is being monitored, the "Check_MK" services of all hosts terminate with an output of "(null)". When executing a precompiled host check file (var/check_mk/precompiled/[host]) manually it terminates with an error message like this:

Traceback (most recent call last):
  File "/omd/sites/beta/var/check_mk/precompiled/beta", line 7, in <module>

ImportError: No module named cmk.log

To the list of all Werks