-
Notifications
You must be signed in to change notification settings - Fork 23
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
(RHEL-30645) resolved: never return ::1 when localhost or local hostname is resolved while IPv6 is off in the kernel #438
base: rhel-8.10.0
Are you sure you want to change the base?
Conversation
Given these files are part of procfs, let's use the correct API calls for reading them. This changes one occasion of read_one_line_file() to read_full_virtual_file(), which superficially is a different thing, but shouldn't actually be a difference, since sysctls can't be longer than 4K anyway, and the piecemeal logic behind read_one_line_file() cannot work with the special semantics of procfs anyway. (cherry picked from commit 4b30f2e) Related: RHEL-30645
This is self-contained ans allows us later to use the provided APIs from other code in src/basic/ (cherry picked from commit b0ffd27) Related: RHEL-30645
And while we are at it, log about unexpected errors. (cherry picked from commit 571ec99) Related: RHEL-30645
(cherry picked from commit 83e03c4) Related: RHEL-30645
…ed while IPv6 is off in the kernel (cherry picked from commit 747b596) Resolves: RHEL-30645
(cherry picked from commit a6b3b0a) Related: RHEL-30645
(cherry picked from commit db50d32) Related: RHEL-30645
Just some minor rework to make this more like nss-resolve. (cherry picked from commit e09e7ac) Related: RHEL-30645
…ily to ipv4 If the client never specified the address family, and IPv6 is off in the kernel, then look only for A, never for AAAA RRs. (cherry picked from commit 0438aa57751559295fee86d1c1f176486e518455) Related: RHEL-30645
(cherry picked from commit bb78da1) Related: RHEL-30645
(cherry picked from commit f96f5d5) Related: RHEL-30645
Commit validationTracker - RHEL-30645 The following commits meet all requirements
Follow-up detectionFailed🔴 Some mentions of commits from this Pull Request were detected in upstream Commit mentions
Tracker validationSuccess🟢 Tracker RHEL-30645 has set desired product: Pull Request validationFailed🔴 Failed or pending checks - |
No description provided.