Werk #10376: omd: Fix possible stopped system apache after removing a site

Component Site management
Title omd: Fix possible stopped system apache after removing a site
Date Oct 31, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Fixed an unlikely error which could lead to a stopped system apache process. This could happen when the system apache is reloaded / restarted while a "omd rm" call is being executed.

This could happen because the site directory is removed while the sites system apache hook (/omd/apache/[site].conf) still points to the sites apache config file which does not exist anymore after removing the site directory.

To the list of all Werks