[packages/openldap] do not use killproc -SIGNAME, as that would cause race in ssd mode

glen glen at pld-linux.org
Mon May 18 11:41:18 CEST 2015


commit fef48147dd158feaffab394b733210db8a314f48
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 18 12:41:06 2015 +0300

    do not use killproc -SIGNAME, as that would cause race in ssd mode

 ldap.init     | 2 +-
 openldap.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index df1633b..e0f467a 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -26,7 +26,7 @@ Summary(ru.UTF-8):	Образцы клиентов LDAP
 Summary(uk.UTF-8):	Зразки клієнтів LDAP
 Name:		openldap
 Version:	2.4.40
-Release:	3
+Release:	4
 License:	OpenLDAP Public License
 Group:		Networking/Daemons
 Source0:	ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
diff --git a/ldap.init b/ldap.init
index a744d7e..9aa61e4 100755
--- a/ldap.init
+++ b/ldap.init
@@ -88,7 +88,7 @@ stop() {
 	fi
 
 	msg_stopping "OpenLDAP"
-	killproc --pidfile $pidfile --waitforname slapd --waitfortime 300 slapd -TERM
+	killproc --pidfile $pidfile --waitforname slapd --waitfortime 300 slapd
 	rm -f $lockfile >/dev/null 2>&1
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/fef48147dd158feaffab394b733210db8a314f48



More information about the pld-cvs-commit mailing list