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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p6 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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