From 55c06d2966b7c9061ce0f71d6124fa6439dc4c43 Mon Sep 17 00:00:00 2001 From: pkoprda Date: Wed, 11 Dec 2024 18:02:06 +0100 Subject: [PATCH] fix: Restart rhsm service after installation * Card ID: CCT-1027 Following the installation of the subscription-manager package, the dbus service was not loaded as expected. This update addresses the problem by ensuring that the dbus service is properly restarted after the installation or upgrade process. --- subscription-manager.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subscription-manager.spec b/subscription-manager.spec index f59c8a062d..99e9034062 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -681,6 +681,8 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; %tmpfiles_create %{_tmpfilesdir}/subscription-manager.conf %else %systemd_post rhsmcertd.service + %systemd_post rhsm.service + systemctl restart rhsm.service %endif # When subscription-manager is upgraded on RHEL 8 (from RHEL 8.2 to RHEL 8.3), then kill