Thursday, March 26, 2020

[389-commits] [389-ds-base] branch master updated: Issue 49731 - dscreate fails in silent mode because of db_home_dir

This is an automated email from the git hooks/post-receive script.

mreynolds pushed a commit to branch master
in repository 389-ds-base.

The following commit(s) were added to refs/heads/master by this push:
new 335b6de Issue 49731 - dscreate fails in silent mode because of db_home_dir
335b6de is described below

commit 335b6de103671b0256d244a788680e715c6b2463
Author: Mark Reynolds <mreynolds@redhat.com>
AuthorDate: Thu Mar 26 16:50:35 2020 -0400

Issue 49731 - dscreate fails in silent mode because of db_home_dir

Description: The silent install was broken because of a missing key "db_home_dir"
so it is now added to the dictionary.

relates: https://pagure.io/389-ds-base/issue/49731

Reviewed by: mreynolds (one line commit rule)
---
src/lib389/lib389/instance/options.py | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/src/lib389/lib389/instance/options.py b/src/lib389/lib389/instance/options.py
index dcc7f63..0cdb7f6 100644
--- a/src/lib389/lib389/instance/options.py
+++ b/src/lib389/lib389/instance/options.py
@@ -32,6 +32,7 @@ format_keys = [
'inst_dir',
'backup_dir',
'db_dir',
+ 'db_home_dir',
'ldif_dir',
'lock_dir',
'log_dir',
@@ -240,6 +241,10 @@ class Slapd2Base(Options2):
self._type['db_dir'] = str
self._helptext['db_dir'] = "Sets the database directory of the instance."

+ self._options['db_home_dir'] = ds_paths.db_home_dir
+ self._type['db_home_dir'] = str
+ self._helptext['db_home_dir'] = "Sets the memory-mapped database files location of the instance."
+
self._options['ldif_dir'] = ds_paths.ldif_dir
self._type['ldif_dir'] = str
self._helptext['ldif_dir'] = "Sets the LDIF export and import directory of the instance."

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment