checkmk icon indicating copy to clipboard operation
checkmk copied to clipboard

Replaced delimiter '_' with '#' in TZ sed expression to prevent errors processing timezones like 'America/New_York'

Open cryptovaltt opened this issue 2 months ago • 2 comments

General information

Docker container related change. Proposed change to docker entrypoint code.

Bug reports

Restarting docker container after successful run fails when timezone (env TZ) contains '_' in it. As it was found here, the cause of the bug is using _ as delimiter in sed expression that prevents using such timezones as America/New_York.

Proposed changes

Replacing delimiter _ with # that does not exist in any curent IANA or POSIX timezone databases.

cryptovaltt avatar Nov 09 '25 18:11 cryptovaltt

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

github-actions[bot] avatar Nov 09 '25 18:11 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.

cryptovaltt avatar Nov 09 '25 18:11 cryptovaltt