-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dscreate error, cannot install with a custom config_dir path #6287
Comments
I tried many combinations specifying or not data_dir, config_dir, cert_dir, schema, backup, user/group as root or dirsrv, launching dscreate as root or dirsrv. |
Hi, |
Hello Viktor, I want to install my instance with specific conf_dir and db_dir (this one is ok). |
These parameters are internal implementation details, and are not exposed in the template:
Anything else provided in the template will be ignored or not work as you might expect. Could you please elaborate on why do you want to a have a different conf_dir? What kind of requirement or restriction do you have? |
If you create the template in --advanced mode, you have the options 'config_dir' & 'cert_dir' and others. On our server, we want to keep 389DS specific configuration files et data folders on another FS. We used to install with an ansible rôle that uses prompt-install then stop the instance, move the folders to the others partition/FS then create symlinks. |
They were moved there for a reason:
Have you considered using bind mounts instead of symlinks? Also, please try |
Issue Description
If I use a specific path for config_dir the dscreate fails with "Instance failed to install, does not exist when expected".
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Install fails and spits the error.
You can see that it's looking for a conf file still in the default path '/etc/dirsrv/InstanceName/dse.ldif' instead of the one specified in config_dir.
Screenshots
None.
Additional context
It's a work case.
The text was updated successfully, but these errors were encountered: