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 #11403: Improved versioning for baked agent packages

ComponentAgent Bakery
TitleImproved versioning for baked agent packages
Date2020-10-20 09:11:14
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version2.0.0i1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

Previously, when updating a baked agent via a package manager, you would eventually receive a warning about a downgrade of the Checkmk agent. The reason for this was the baked agent's version string, that was formed of Checkmk version and the agent's configuration hash, with the latter being quite random and thus confusing the package manager, that expects an increasing versioning. E.g. a version string could be 1.6.0p18.f123abcd before bake, and 1.6.0p18.1234cdef after bake.

This behavior is now fixed by introducing an internal bake revision, that increases on every newly baked package (per Checkmk version) and that's only purpose is to guarantee an increasing version string for the .rpm, .deb and .pkg packages (e.g. 1.6.0p18-1.f123abcd before bake, 1.6.0p18-2.1234cdef after bake). Please note that this revision won't be visible on the GUI or in the package's filenames, it only affects the package's metadata.