[glusterfs] glusterd init script: fix glusterfsd stop() not running at system shutdown or reboot. RHBZ 1073217

Kaleb S. KEITHLEY kkeithle at fedoraproject.org
Tue Jul 8 10:39:58 UTC 2014


commit 04451c08dd966856736d9f2f559a6568221cac31
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date:   Tue Jul 8 06:38:40 2014 -0400

    glusterd init script: fix glusterfsd stop() not running at system
    shutdown or reboot. RHBZ 1073217

 glusterd.init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glusterd.init b/glusterd.init
index 0007d2e..fecb77d 100644
--- a/glusterd.init
+++ b/glusterd.init
@@ -41,7 +41,7 @@ start() {
     daemon $exe${GLUSTERD_LOGFILE+" -l $GLUSTERD_LOGFILE"}${GLUSTERD_LOGLEVEL+" -L $GLUSTERD_LOGLEVEL"} -p $pidf
     retval=$?
     echo
-    [ $retval -eq 0 ] && touch $lockfile
+    [ $retval -eq 0 ] && touch $lockfile /var/lock/subsys/glusterfsd
     return $retval
 }
 


More information about the scm-commits mailing list