Werk #20068: Fix agent updater losing registration on Solaris after agent update
| Component | Agent bakery | ||||
| Title | Fix agent updater losing registration on Solaris after agent update | ||||
| Date | Jun 3, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, after an automatic agent update from Checkmk 2.4 to 2.5 on Solaris, the agent
updater reported "Not yet registered at deployment server" and required a manual
cmk-update-agent register to resume operation. The updater's log directory was also
missing, causing additional logging errors. Updates within 2.5 were not affected.
With Checkmk 2.5, the agent updater's directory structure changed, requiring a migration
of existing registration data to the new location. This migration is handled by a preparation
script that runs during agent installation. On Solaris, an exit 0 in the middle of the
package postinstall script prevented this preparation script from ever executing, so the
registration was never migrated and the updater could not find it.