Skip to content

Commit

Permalink
fix: Restart rhsm service after installation
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
pkoprda committed Dec 18, 2024
1 parent 5eee229 commit 7795f75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subscription-manager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7795f75

Please sign in to comment.