-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Segmentation fault at first start #26
Comments
Sorry, here's the relevant log:
|
Got it: openldap tools segfault when /etc/hosts contains a hostname for local container which is longer than 64 characters (which is often the case with Kubernetes name conventions). |
Interesting - Nice sleuthing. Alternatively, we could write a function that adds another entry to the hosts file that is <64 char and execute slapd with that truncated hostname. Again, there might be unintended cluster consequences.. |
In fact, empty (minimal containing only localhost) should be fine, as the container will then ask Kubernetes DNS for any other entry. |
Did any fix come up here? |
This is so old and we nearly don't use this anymore. |
so then just close this one because the things Ij'm seeing might be unrelated to your observations some years ago / the root cause of what you've seen has probably been fixed long ago. |
Summary
When starting 1.4 image, with no previous data, a segfault occurs.
To reproduce, run the container and wait for the error to occur.⚠️ you'll loose your data !!):
To retry, just open a shell and run the following (
rm -rf /etc/openldap/slapd.d/* /var/lib/openldap/* ; kill 1
What is the expected correct behavior?
No segfault, which would allow initial setup to run smoothly until it's end.
Relevant logs and/or screenshots
Environment
The text was updated successfully, but these errors were encountered: