-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Initialization script bails mid-way through first launch #49
Comments
Thanks for this report. This is the first image with OpenLDAP 2.6 - I held off on moving out of the 2.4.x branch until this was released. Would you mind if we try a couple tests together? I've made a new version of I may end up pulling 7.2.0 and latest is this persists. |
That makes it no longer crash on that converting schemas step anymore, and goes further in initialization, but it does still fail unfortunately:
The ppolicy.schema file doesn't appear to exist at all, looking in the directory. |
Looks like here they moved the schema into the module itself. openldap/openldap@4419118#diff-5b7ab737465d821532527e6e4cad597e98039d005012934cb900256562481d5d I've pushed a new tiredofit/openldap:develop to support this. |
Seems like the initialization completed just fine after that last change. |
are you getting this by chance?
|
That's not happening to me during that part of the script, no. The only time I see the "Can't contact LDAP server" error is while it's waiting for OpenLDAP to be ready, which is of course expected. |
Many thanks for your patience. Pushing 7.2.1 with these changes in it, and will also rebuild tiredofit/openldap-fusiondirectory for those who are dependent on this image for that one to work :) |
...Oh, something happened and I need to correct myself - I wasn't getting that error in debug mode. I just switched off debug mode and re-initialized my server and now I am getting that error. It doesn't seem to have caused the initialization to fail, however. And of course! Thank you for your prompt response to my bug report! |
Hello, I'm getting this error on the latest image.... ldap does not start anymore. Best, |
HI Jerome, Tell me a bit about your install. Using NIS or RFC2307. Can you share me any other logs as to what happens? You can also privately send logs to me dave@ (mygithubname).ca |
Indeed, perhaps not the same .... I just sent you the logs by email. Best, |
What's the status? I get the same error for the master and 2.4 branches. Also tiredofit/openldap:develop. Line 147 in 0e7d3ef
|
Summary
When launching the container for the first time, the 10-openldap initialization script appears to fail at the "converting schemas to LDIF" part and stop running at that point. The server still seems to launch and function (which actually seems to contradict the message it says where "all services are now halted"?), but looking into the server shows there are things missing that would otherwise be there.
This issue disappears when using the 7.1.22 image.
Steps to reproduce
What is the expected correct behavior?
The openldap initialization script completes its tasks and exits normally.
Relevant logs and/or screenshots
Environment
Any logs | docker-compose.yml
Possible fixes
It seems like there was a change to slaptest where it requires the destination config directory to be empty, but that directory is also where the file with the schemas to be converted are located. I haven't tested it myself, but I wonder if making a new directory within the temp directory and using that for the destination config directory would resolve the issue.
The text was updated successfully, but these errors were encountered: