Re: Getting glusterd to shutdown cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@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
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux