Bug 1404476
Summary: | firefox/dnf/curl dns resolution failure after recent update if using 'search domain' function in /etc/resolve.conf (prevents further updates) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert <redhat-bz> |
Component: | glibc | Assignee: | Carlos O'Donell <codonell> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | arjun.is, codonell, dj, fweimer, jakub, law, mfabian, nmavrogi, pfrankli, redhat-bz, siddhesh, tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-14 17:30:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert
2016-12-13 22:57:47 UTC
No, gnutls is not the common component at all. Name resolution is done by glibc although the failure can be elsewhere. Do you use nscd? Until just recently, I had no idea nscd existed; but from what little I can tell.... yes? $ rpm -qa | grep -i nscd nscd-2.23.1-11.fc24.x86_64 $ ps auxw | grep nscd nscd 1546 0.0 0.0 1276020 6484 ? Ssl Dec13 0:13 /usr/sbin/nscd robert 5855 0.0 0.0 12628 900 pts/0 S+ 10:14 0:00 grep --color=auto nscd This is a known issue. myhostname (and probably mymachines) is incompatible with nscd because it turns non-cachable lookup failures into cachable lookup failures. glibc does not control what other packages put into nsswitch.conf. The default we ship in the package does not include it for a reason. I do not recall installing nscd, and trying to remove it threatens many packages that I actually do need (e.g. php, postgresql, xinetd). So I assume that you are referring to the nsswitch.conf entries when you say that it is not the default. Having read the summaries of the myhostname & mymachines modules, I'm still not sure how the search-domain comes into play; and I'm also not sure why it would start acting up now (at recent Fedora 24 updates).... However... you've *certainly* given me enough info to fix it on my machine.... so unless you have any further action or reminder to draw from this ticket, I'm content to have it closed... and I think I see a relevant ticket of this being discussed... Thanks! Possibly relevant bug 1284323 bug 1284325 bug 1374228 *** This bug has been marked as a duplicate of bug 1284323 *** Just a note to by future self, and anyone trying to work around this issue...
The following will remove the crazy-long-cached negative dns lookup failures, and let your dns work again:
> sudo nscd --invalidate=hosts
|