andykimpe / rpms / 389-ds-base

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

Blame SOURCES/0028-Issue-49754-Instance-created-using-dscreate-can-t-be.patch

26521d
From 1e31c091f4a62d09fe8e2fbd1fda2d67ccbe8508 Mon Sep 17 00:00:00 2001
26521d
From: Viktor Ashirov <vashirov@redhat.com>
26521d
Date: Thu, 23 May 2019 15:38:16 +0200
26521d
Subject: [PATCH] Issue 49754 -  Instance created using dscreate can't be
26521d
 upgraded
26521d
26521d
Bug Description:
26521d
On 1.3.9 remove_ds_instance() is destructive and deletes
26521d
/usr/lib64/dirsrv together with perl modules and 389-ds-base libs.
26521d
26521d
Fix Description:
26521d
Backport defaults.inf changes for inst_dir
26521d
26521d
Relates: https://pagure.io/389-ds-base/issue/49754
26521d
26521d
Reviewed by: mreynolds (Thanks!)
26521d
---
26521d
 ldap/admin/src/defaults.inf.in | 2 +-
26521d
 1 file changed, 1 insertion(+), 1 deletion(-)
26521d
26521d
diff --git a/ldap/admin/src/defaults.inf.in b/ldap/admin/src/defaults.inf.in
26521d
index 8565ff7a0..eff88f238 100644
26521d
--- a/ldap/admin/src/defaults.inf.in
26521d
+++ b/ldap/admin/src/defaults.inf.in
26521d
@@ -35,7 +35,7 @@ config_dir = @instconfigdir@/slapd-{instance_name}
26521d
 local_state_dir = @localstatedir@
26521d
 run_dir = @localstatedir@/run/dirsrv
26521d
 pid_file = @localstatedir@/run/dirsrv/slapd-{instance_name}.pid
26521d
-inst_dir = @serverdir@
26521d
+inst_dir = @serverdir@/slapd-{instance_name}
26521d
 plugin_dir = @serverplugindir@
26521d
 system_schema_dir = @systemschemadir@
26521d
 
26521d
-- 
26521d
2.17.2
26521d