Bug 63946
Summary: | nscd not restarted after changing /etc/resolv.conf | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | diego.santacruz |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | jlamb, rvokal, tao |
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: | 2005-04-20 16:11:02 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
diego.santacruz
2002-04-22 14:59:55 UTC
Maybe something along the lines of # If the resolver settings where adjusted after nscd started, restart to make # it take into account the new DNS servers. if [ -f /var/lock/subsys/nscd -a /etc/resolv.conf -nt /var/lock/subsys/nscd ]; then # Make nscd aware of new name resolver settings [ -x /etc/init.d/nscd ] && /etc/init.d/nscd condrestart fi to add in ifup-post would be a good fix. I have these lines above (with an extra workaround for bug #64603) in /sbin/ifup-local and it works like a charm. This is fixed in current RHEL3 update releases, RHEL 4, and FC2/FC3+. |