andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

Blame 0425-Ticket-49049-Fix-error_log-path-in-defaults.inf-for-.patch

dc8c34
From ad893d0baeeb7ce6b5931234b5d90b7794ce2e9c Mon Sep 17 00:00:00 2001
dc8c34
From: Viktor Ashirov <vashirov@redhat.com>
dc8c34
Date: Tue, 22 Nov 2016 08:18:52 +0100
dc8c34
Subject: [PATCH 425/425] Ticket 49049 - Fix error_log path in defaults.inf for
dc8c34
 1.2.11
dc8c34
dc8c34
Bug Description:
dc8c34
error_log points to non-existent file
dc8c34
dc8c34
Fix Description:
dc8c34
Correct error_log path so it points to correct file
dc8c34
dc8c34
https://fedorahosted.org/389/ticket/49049
dc8c34
dc8c34
Reviewed by: mreynolds (Thanks!)
dc8c34
dc8c34
(cherry picked from commit 66f0aa818a88ccb506d96520774cf0e240741eaa)
dc8c34
---
dc8c34
 ldap/admin/src/defaults.inf.in | 6 ++++++
dc8c34
 1 file changed, 6 insertions(+)
dc8c34
dc8c34
diff --git a/ldap/admin/src/defaults.inf.in b/ldap/admin/src/defaults.inf.in
dc8c34
index e4ce74a..8f9b070 100644
dc8c34
--- a/ldap/admin/src/defaults.inf.in
dc8c34
+++ b/ldap/admin/src/defaults.inf.in
dc8c34
@@ -21,6 +21,8 @@ product = @capbrand@ Directory Server
dc8c34
 version = @PACKAGE_VERSION@
dc8c34
 ; In 1.2.xx, this will never be true.
dc8c34
 asan_enabled = false
dc8c34
+with_selinux = @with_selinux@
dc8c34
+with_systemd = false
dc8c34
 prefix = @prefixdir@
dc8c34
 bin_dir = @bindir@
dc8c34
 sbin_dir = @sbindir@
dc8c34
@@ -32,6 +34,7 @@ initconfig_dir = @initconfigdir@
dc8c34
 config_dir = @instconfigdir@/slapd-{instance_name}
dc8c34
 local_state_dir = @localstatedir@
dc8c34
 run_dir = @localstatedir@/run/dirsrv
dc8c34
+pid_file = @localstatedir@/run/dirsrv/slapd-{instance_name}.pid
dc8c34
 plugin_dir = @serverplugindir@
dc8c34
 
dc8c34
 ; These values can be altered in an installation of ds
dc8c34
@@ -44,6 +47,9 @@ cert_dir = @instconfigdir@/slapd-{instance_name}
dc8c34
 
dc8c34
 lock_dir = @localstatedir@/lock/dirsrv/slapd-{instance_name}
dc8c34
 log_dir = @localstatedir@/log/dirsrv/slapd-{instance_name}
dc8c34
+access_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/access
dc8c34
+audit_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/audit
dc8c34
+error_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/errors
dc8c34
 inst_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}
dc8c34
 db_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/db
dc8c34
 backup_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/bak
dc8c34
-- 
dc8c34
2.9.3
dc8c34