Bug 477051
Summary: | host command ignores SEARCH variable when network is turned on | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Friedman <edfriedmangvs> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | atkac, notting, pwouters, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-12 21:06:42 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
Ed Friedman
2008-12-18 20:52:30 UTC
This is not host problem, initscripts handle addition of "search domainname" to resolv.conf. Reassigning to proper component. 'SEARCH' variable? That's not a valid ifcfg variable - where are you setting it? I don't set the SEARCH variable. It is the domain name and it is automatically added to the end of ifcfg-eth0 at the completion of the installation process (in our case SEARCH="uchicago.edu"). At that point, host worked with NetworkManager running, finding hosts within our domain without requiring the domain name to be tacked to the end of the host, but did not find these hosts if network was running instead unless the domain name was added to the host name(everything worked fine under Fedora 9). I then added the following to the end of /etc/resolv.conf: search uchicago.edu At this point, the host command worked fine when network was turned on. However, whenever the computer was rebooted, that line was stripped out of the /etc/resolv.conf file. What makes all of this even stranger is that when network is on and the host command will not find hosts in our local domain by their name alone, ssh does and works with no problem. Ah, anaconda added it. This was later changed to not do that any more, as it wasn't consistently honored (and broke some things). *** This bug has been marked as a duplicate of bug 474858 *** |