But if I understand the problem correctly, I'd say that it's a hack and
that init should know when ldap is ready and not start dependents until
then.
Or, hold dependents until it is ready. I believe the current best answer
is "socket activation" but I don't know whether that would need changes
within slapd.
If started via a Sys V init script, does the script exit only when slapd
is ready to answer queries, or does it exit before this time?
"getent" might be useful here.
But if I understand the problem correctly, I'd say that it's a hack and
that init should know when ldap is ready and not start dependents until
then.
Or, hold dependents until it is ready. I believe the current best answer
is "socket activation" but I don't know whether that would need changes
within slapd.
If started via a Sys V init script, does the script exit only when slapd
is ready to answer queries, or does it exit before this time?