Bug 130575

Summary: /sbin/ifup kills a name resolution on DHCP connections
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: jvdias, kajtzu, rvokal, 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:
Description Flags
fix to change_resolv_conf() in network-functions for initscripts-7.66-1
none
fix to change_resolv_conf() in network-functions for initscripts-7.66-1, removed debug echoing none

Description Michal Jaegermann 2004-08-22 01:20:04 UTC
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

Comment 1 Kaj J. Niemi 2004-08-22 15:50:13 UTC
L

Comment 2 Kaj J. Niemi 2004-08-22 16:07:01 UTC
Created attachment 102968 [details]
fix to change_resolv_conf() in network-functions for initscripts-7.66-1

Comment 3 Kaj J. Niemi 2004-08-22 16:08:34 UTC
Created attachment 102969 [details]
fix to change_resolv_conf() in network-functions for initscripts-7.66-1, removed debug echoing

Comment 4 Michal Jaegermann 2004-08-22 17:50:53 UTC
After the patch above I got my resolv.conf into a desired state again.

Comment 5 Bill Nottingham 2004-08-23 19:12:13 UTC
*** Bug 130592 has been marked as a duplicate of this bug. ***

Comment 6 Jason Vas Dias 2004-08-23 19:15:09 UTC
This is fixed in initscripts-7.67 .