Bug 130575
| Summary: | /sbin/ifup kills a name resolution on DHCP connections | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> | ||||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3 | CC: | jvdias, kajtzu, rvokal, sait.a.umar | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | initscripts-7.67 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-08-23 19:17:45 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 123268 | ||||||||
| Attachments: |
|
||||||||
L Created attachment 102968 [details]
fix to change_resolv_conf() in network-functions for initscripts-7.66-1
Created attachment 102969 [details]
fix to change_resolv_conf() in network-functions for initscripts-7.66-1, removed debug echoing
After the patch above I got my resolv.conf into a desired state again. *** Bug 130592 has been marked as a duplicate of this bug. *** This is fixed in initscripts-7.67 . |
Description of problem: I configure my eth1 interfaces (on different machines) with DHCP and I have 'PEERDNS=yes' for good reasons. Suddenly after 'ifup eth1' my /etc/resolv.conf has a legth 1 with only a newline character in it. Obviously many other things are immediately affected. That happened after the last series of updates. This despite of that detail that in /var/lib/dhcp/dhclient-eth1.leases I still have: lease { interface "eth1"; ....... option domain-name-servers aaa.bbb.cc.ddd; option dhcp-server-identifier aaa.bbb.cc.ddd; ..... } which is indeed absolutely correct. Programs from 'dhclient' package do not seem to responsible for that trouble as they were installed on "Wed 18 Aug 2004" (although I would not absolutely swear; I had a number of other "surprises" recently and possibly missed when the problem started). Version-Release number of selected component (if applicable): initscripts-7.66-1 How reproducible: Always