Werk #16549: Agent updates failing on Solaris 10

Component Agent bakery
Title Agent updates failing on Solaris 10
Date Mar 1, 2024
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.1.0p43 2.2.0p26 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

On some Solaris 10 systems, an agent update did crash with error message

/var/sadm/pkg/check-mk-agent/install/postremove: syntax error at line 19: `(' unexpected
pkgrm: ERROR: postremove script did not complete successfully

If you ran into this error, to make the update perform again, please delete the file /var/sadm/pkg/check-mk-agent/install/postremove on affected systems.

Technical background:\ The postremove script used the subshell evaluation syntax $(...) that is incompatible to the standard bin/sh shell found on some Solaris 10 systems.

To the list of all Werks