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."
389-commits@lists.fedoraproject.org