[initial-setup][master/f23-branch/rhel7-branch][PATCH] Replace systemd_postun_with_restart with systemd_postun (#1244394)

Martin Kolman mkolman at redhat.com
Thu Sep 17 14:29:59 UTC 2015


Otherwise package version upgrades might get stuck if one
of the Initial Setup services is running.

While this should never happen (there should be no other
users triggering package updates logged in when Initial Setup
is running) it apparently can sometimes happen.
So prevent the deadlock by replacing systemd_postun_with_restart
with just systemd_postun.
---
 initial-setup.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/initial-setup.spec b/initial-setup.spec
index ef74c55..3f988e8 100644
--- a/initial-setup.spec
+++ b/initial-setup.spec
@@ -80,7 +80,7 @@ rm -rf %{buildroot}
 %systemd_preun initial-setup-text.service
 
 %postun
-%systemd_postun_with_restart initial-setup-text.service
+%systemd_postun initial-setup-text.service
 
 %post gui
 %systemd_post initial-setup-graphical.service
@@ -89,7 +89,7 @@ rm -rf %{buildroot}
 %systemd_preun initial-setup-graphical.service
 
 %postun gui
-%systemd_postun_with_restart initial-setup-graphical.service
+%systemd_postun initial-setup-graphical.service
 
 %files -f %{name}.lang
 %doc COPYING README.rst
-- 
2.4.3



More information about the anaconda-patches mailing list