glusterfs/extras/init.d
Niels de Vos 689618e2fc extras: prevent "glusterd dead but subsys locked"
Commit b5bf14a6 added support for a file under /var/lock/subsys,
Hoewever, killproc does remove the $PIDFILE which cases subsequent
checks on its existence to fail. When glusterd was stopped successfully,
the $PIDFILE has been removed already, there is no need to try to remove
is again.

Upon executing '/sbin/service glusterd status', the message 'glusterd
dead but subsys locked' would be returned because the file under
/var/lock/subsys was not removed.

Bug: 960476
Change-Id: I781fe463e3c5472e42d668155cee4f63d349a568
Reported-by: Satheesaran Sundaramoorthi <sasundar@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/5074
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
2013-05-25 11:41:29 -07:00
..
glusterd-Debian.in extras: Do not check_config() for glusterd in Debian init 2010-10-26 03:01:41 -07:00
glusterd-Redhat.in extras: prevent "glusterd dead but subsys locked" 2013-05-25 11:41:29 -07:00
glusterd-SuSE.in init.d: implement reload action for SUSE init script 2012-10-01 16:46:21 -07:00
glusterd.plist.in extras: modify run level scripts to support glusterd. 2010-09-13 03:05:46 -07:00
Makefile.am rpm: automatically load the fuse module on EL5 2013-05-22 12:20:46 -07:00
rhel5-load-fuse.modules rpm: automatically load the fuse module on EL5 2013-05-22 12:20:46 -07:00