Werk #16549: Agent updates failing on Solaris 10

Component Agent bakery
Title Agent updates failing on Solaris 10
Date Mar 1, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p43 Checkmk Enterprise (CEE), Checkmk MSP (CME)

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