[packages/corosync] Do not restart corosync on upgrade
jajcus
jajcus at pld-linux.org
Fri Nov 2 11:47:08 CET 2012
commit 383c4bd91fecd0b217319be797b12f3984498e26
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Fri Nov 2 11:46:00 2012 +0100
Do not restart corosync on upgrade
Corosync restart will break cluster consistency and most probably
fire node fencing
corosync.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/corosync.spec b/corosync.spec
index e040086..5c86425 100644
--- a/corosync.spec
+++ b/corosync.spec
@@ -169,10 +169,10 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add %{name}
/sbin/chkconfig --add %{name}-notifyd
-%service %{name} restart
%service %{name}-notifyd restart
-%systemd_post %{name}.service
%systemd_post %{name}-notifyd.service
+export NORESTART=1
+%systemd_post %{name}.service
%preun
if [ "$1" = "0" ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/corosync.git/commitdiff/383c4bd91fecd0b217319be797b12f3984498e26
More information about the pld-cvs-commit
mailing list