Werk #13108: Fix NotADirectoryError on user profile cleanup background job

Component GUI
Title Fix NotADirectoryError on user profile cleanup background job
Date Aug 24, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p10 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

If LDAP connections were used, the file "ldap_MYCONNECTION_sync_time.mk" could cause error entries in ~/var/log/web.log, because the file was treated as directory.

From now on, files in ~/var/check_mk/web will be ignored on cleanup because we only want to cleanup abandoned user directories.

To the list of all Werks