From cc372dc0d0561b2995d89cab4e84dcebef0c346c Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Fri, 27 Jun 2014 07:04:47 -0400 Subject: build/glusterfs.spec.in: %post server doesn't wait for old glusterd 'killall glusterd' needs to wait for the old glusterd to exi before starting the updated one, otherwise the new process can't bind to its socket ports Change-Id: I78af70419d8b1ac878ee9711acdc01b308b0e46f BUG: 1113959 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/8190 Tested-by: Gluster Build System Reviewed-by: Lalatendu Mohanty Reviewed-by: Humble Devassy Chirammal --- glusterfs.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 8baddb1b306..ad87ea5a674 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -938,7 +938,7 @@ pidof -c -o %PPID -x glusterd &> /dev/null if [ $? -eq 0 ]; then kill -9 `pgrep -f gsyncd.py` &> /dev/null - killall glusterd &> /dev/null + killall --wait glusterd &> /dev/null glusterd --xlator-option *.upgrade=on -N else glusterd --xlator-option *.upgrade=on -N @@ -963,6 +963,9 @@ if [ $1 -ge 1 ]; then fi %changelog +* Fri Jun 27 2014 Kaleb S. KEITHLEY +- killall --wait in %%post server (#1113959, #1113745) + * Thu May 22 2014 Niels de Vos - Almost drop calling ./autogen.sh -- cgit