https://bugs.openldap.org/show_bug.cgi?id=10070
Issue ID: 10070 Summary: Allow running when /etc/resolv.conf is missing Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: lloadd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
A resolv.conf file might be missing, usually that means that no name services are available (often in test environments) or in some container environments where the resolver is assumed to run on localhost.
We should adopt the proposal discussed in https://github.com/libevent/libevent/issues/1155#issuecomment-918826471 which lets us honour the file if it exists but keep the libevent default, allowing to deal with both cases, no name resolution is needed (all URIs are numeric) and the implicit local resolver.
https://bugs.openldap.org/show_bug.cgi?id=10070
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net Keywords|needs_review | Target Milestone|--- |2.5.17
https://bugs.openldap.org/show_bug.cgi?id=10070
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/632
https://bugs.openldap.org/show_bug.cgi?id=10070
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 208d68cd by Ondřej Kuzník at 2023-07-19T14:53:20+00:00 ITS#10070 Allow running without a valid resolv.conf file
https://bugs.openldap.org/show_bug.cgi?id=10070
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• d06bfb1f by Ondřej Kuzník at 2023-10-09T20:24:09+00:00 ITS#10070 Allow running without a valid resolv.conf file
RE25:
• 255e66b4 by Ondřej Kuzník at 2023-10-09T20:24:17+00:00 ITS#10070 Allow running without a valid resolv.conf file
https://bugs.openldap.org/show_bug.cgi?id=10070
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED