[Pkg-openldap-devel] Bug#368895: openldap2.3: wrong path for slapi error log file

Peter Marschall peter at adpm.de
Thu May 25 19:16:43 UTC 2006


Package: openldap2.3
Severity: normal
Tags: patch

Hi,

openldap2.3's slapd contains a wrong path for the slapi error log file.
(directly in /var instead of correctlyin /var/log)

The attached patch fixes it.
(Please note this patch was written independent of on of the others I
submitted today. Since both patches modify debian/patches/series,
it may fail patching this file. In this case please update the eries
file by hand)

Hope it helps
PEter


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
-------------- next part --------------
--- debian/patches/slapi-errorlog-file
+++ debian/patches/slapi-errorlog-file	2006-05-25 21:06:53.000000000 +0200
@@ -0,0 +1,11 @@
+--- servers/slapd/slapi/slapi_overlay.c
++++ servers/slapd/slapi/slapi_overlay.c
+@@ -882,7 +882,7 @@
+ 		ldap_pvt_thread_mutex_init( &slapi_printmessage_mutex );
+ 
+ 		if ( slapi_log_file == NULL )
+-			slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "errors" );
++			slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "log" LDAP_DIRSEP "slapi-errors" );
+ 
+ 		rc = slapi_int_init_object_extensions();
+ 		if ( rc != 0 )
--- debian/patches/series
+++ debian/patches/series	2006-05-25 21:11:24.000000000 +0200
@@ -6,3 +6,4 @@
 libldap-makefile_in
 add-autogen-sh
 fixmanpages -p0
+slapi-errorlog-file -p0


More information about the Pkg-openldap-devel mailing list