Bug 20598
Summary: | Installer won't determine hostname correctly (patch included) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Philip Spencer <pspencer> |
Component: | anaconda | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | chaimf, dr, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-09-17 19:03:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Philip Spencer
2000-11-09 17:51:09 UTC
Passed to a developer to evaluate. Modified code to try dns queries 3 times instead of twice. Helps problems on sparc, should help on i386. I am unable to see three different DNS lookup queries using the internal test tree qa1213.0 ... instead, I only see one "reverse name lookup failed" log msg on VC3 ... is it possibly querying 3 times, but only logging if all three failed ...? (I just want to make sure I'm properly verifying the fix!) Are you referring to the _res.retry parameter in dns.c? As far as I can tell that parameter is being ignored. When I was first having the problem, increasing the _res.retry parameter from 2 to 3 did not fix anything (nor did the timeout appear to be noticeably longer, as it should have been if it really was trying three times instead of two). Leaving _res.retry set at 2, but performing a second call to doQuery (as in my patch above), did fix the problem. I had just assumed the resolver routines in the scaled-down kernel used by the installer did not support the retry parameter, but perhaps there's some other bug that's causing it to be ignored? Or perhaps it needs to be set as high as 4 instead of just 3? Jeremy please consider this patch. Already done in CVS |