We use cookies to ensure that we give you the best experience on our website. Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #5508: cmk-update-agent.exe: Prevent Agent Updater from running twice

ComponentAgent Bakery
Titlecmk-update-agent.exe: Prevent Agent Updater from running twice
Date2018-08-13 17:36:21
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.6.0b1,1.5.0p2
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

On Windows, when cmk-update-agent.exe is invoked, a lockfile is created to prevent it from running twice at the same time.

This mechanism did not work properly when cmk-update-agent.exe got invoked multiple times from different user accounts, because the lockfiles were created within different directories.

This is now mitigated by creating the lockfile regardless of the current user within the "temp" directory of the Check_MK Agent installation.