[Gluster-users] Getting glusterd to shutdown cleanly
Ellison, Bob
bob.ellison at ccur.com
Tue Dec 3 15:00:01 UTC 2013
> I fixed an issue in /etc/init.d/glusterd with RETVAL in the stop() function (apparently also fixed upstream).
Can you show me your patch?
--
Here it is:
bobe at centos6(glusterfs)-> git diff
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in
index 7db7e1b..e320708 100755
--- a/extras/init.d/glusterd-Redhat.in
+++ b/extras/init.d/glusterd-Redhat.in
@@ -72,7 +72,6 @@ stop()
echo -n $"Stopping $BASE:"
if pidofproc -p $PIDFILE $GLUSTERD_BIN &> /dev/null; then
killproc -p $PIDFILE $BASE
- [ -w $PIDFILE ] && rm -f $PIDFILE
else
killproc $BASE
fi
Bob
More information about the Gluster-users
mailing list