[packages/openldap] fix slapd default config: /var/run is not writable

glen glen at pld-linux.org
Thu Apr 19 00:51:42 CEST 2018


commit 036a70cc4cd555ddce18408ac342d7ec2f7ab364
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Apr 19 01:51:19 2018 +0300

    fix slapd default config: /var/run is not writable

 openldap-config.patch | 4 ++--
 openldap.spec         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index ff2978e..978e882 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -22,7 +22,7 @@ Summary(ru.UTF-8):	Образцы клиентов LDAP
 Summary(uk.UTF-8):	Зразки клієнтів LDAP
 Name:		openldap
 Version:	2.4.45
-Release:	2
+Release:	3
 License:	OpenLDAP Public License
 Group:		Networking/Daemons
 Source0:	ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
diff --git a/openldap-config.patch b/openldap-config.patch
index 75a08f8..eb68a4e 100644
--- a/openldap-config.patch
+++ b/openldap-config.patch
@@ -24,8 +24,8 @@
  
 -pidfile		%LOCALSTATEDIR%/run/slapd.pid
 -argsfile	%LOCALSTATEDIR%/run/slapd.args
-+pidfile		/var/run/slapd.pid
-+argsfile	/var/run/slapd.args
++pidfile		/var/run/slapd/slapd.pid
++argsfile	/var/run/slapd/slapd.args
  
  # Load dynamic backend modules:
 -# modulepath	%MODULEDIR%
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list