Adjust the post-uninstallation phase so that the observability user is
only deleted during full uninstallation. This prevents the user from
being deleted during upgrades and ensures the service contines to work
as intended after a major rhel upgrade. Also add precautionary runtime
requirements for shadow-utils and util-linux as both are required for
the creation of the observability user.
The %postun section of the spec was accidentally removed in the
previously merged fix for this issue. This commit is identical
but fixes this error.
Resolves: RHEL-81967
Signed-off-by: ccowman <ccowman@redhat.com>
Adjust the post-uninstallation phase so that the observability user is
only deleted during full uninstallation. This prevents the user from
being deleted during upgrades and ensures the service contines to work
as intended after a major rhel upgrade. Also add precautionary runtime
requirements for shadow-utils and util-linux as both are required for
the creation of the observability user.
Resolves: RHEL-81967
Signed-off-by: ccowman <ccowman@redhat.com>
Bump revision and update golang version in tarball from 1.21.0 to
1.22.11 to fix net/http CVE-2024-45336
Resolves: RHEL-79113
Signed-off-by: ccowman <ccowman@redhat.com>