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 Jan 16, 2025
1 parent 4540efb commit 560ba38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subscription-manager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ fi
%endif

%posttrans
%systemd_posttrans_with_restart rhsm.service
# Remove old *.egg-info empty directories not removed be previous versions of RPMs
# due to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1927245
rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non-empty
Expand Down

0 comments on commit 560ba38

Please sign in to comment.