[Pkg-openldap-devel] r762 - openldap/trunk-2.3/debian

Matthijs Mohlmann matthijs at alioth.debian.org
Tue Dec 12 21:27:29 CET 2006


Author: matthijs
Date: 2006-12-12 21:27:29 +0100 (Tue, 12 Dec 2006)
New Revision: 762

Modified:
   openldap/trunk-2.3/debian/changelog
   openldap/trunk-2.3/debian/slapd.init
Log:
 * Revert change for 390337. It can in some cases chown /var/run.


Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog	2006-12-09 20:56:47 UTC (rev 761)
+++ openldap/trunk-2.3/debian/changelog	2006-12-12 20:27:29 UTC (rev 762)
@@ -1,3 +1,10 @@
+openldap2.3 (2.3.30-2) unstable; urgency=low
+
+  * Reverted change for #390337, it is possible that it chown's complete
+    /var/run. (Closes: #402705)
+
+ -- Matthijs Mohlmann <matthijs at cacholong.nl>  Tue, 12 Dec 2006 20:54:41 +0100
+
 openldap2.3 (2.3.30-1) unstable; urgency=low
 
   * New upstream release.

Modified: openldap/trunk-2.3/debian/slapd.init
===================================================================
--- openldap/trunk-2.3/debian/slapd.init	2006-12-09 20:56:47 UTC (rev 761)
+++ openldap/trunk-2.3/debian/slapd.init	2006-12-12 20:27:29 UTC (rev 762)
@@ -69,12 +69,6 @@
 	exit 1
 fi
 
-# Make sure the pidfile directory exists with correct permissions
-piddir=`dirname "$SLAPD_PIDFILE"`
-[ -d "$piddir" ] || mkdir -p "$piddir"
-[ -z "$SLAPD_USER" ] || chown -R "$SLAPD_USER" "$piddir"
-[ -z "$SLAPD_GROUP" ] || chgrp -R "$SLAPD_GROUP" "$piddir"
-
 # Pass the user and group to run under to slapd
 if [ "$SLAPD_USER" ]; then
 	SLAPD_OPTIONS="-u $SLAPD_USER $SLAPD_OPTIONS"




More information about the Pkg-openldap-devel mailing list