Skip to content

Fix post minion and master in Salt spec to generate HMAC files only on RHEL 8 and its clones

Updated the post and postun (post uninstall) salt.spec file to only generate / remove the HMAC files needed for FIPS operation on RHEL 8 and it's clones (Rocky 8, Alama 8) if on RHEL 8 and its derivatives.

Previously they were being generated regardless of the RHEL version and on RHEL 9 were generating warning messages since OpenSSL v1.1 libraries are not present on that platform.

Also fixed up salt-master uninstall warning about salt-syndic not being installed (when not installed) on RHEL 9, needless warning which does not occur on other versions, RHEL 7 & 8 (different version of systemd on different OSs)

Merge request reports