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 |
|
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.