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

Komponente GUI
Titel Fix NotADirectoryError on user profile cleanup background job
Datum 24.08.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0p10 2.1.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks