Bug 130575 - /sbin/ifup kills a name resolution on DHCP connections
Summary: /sbin/ifup kills a name resolution on DHCP connections
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
: 130592 (view as bug list)
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-08-22 01:20 UTC by Michal Jaegermann
Modified: 2014-03-17 02:47 UTC (History)
4 users (show)

Fixed In Version: initscripts-7.67
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-23 19:17:45 UTC


Attachments (Terms of Use)
fix to change_resolv_conf() in network-functions for initscripts-7.66-1 (583 bytes, patch)
2004-08-22 16:07 UTC, Kaj J. Niemi
no flags Details | Diff
fix to change_resolv_conf() in network-functions for initscripts-7.66-1, removed debug echoing (571 bytes, patch)
2004-08-22 16:08 UTC, Kaj J. Niemi
no flags Details | Diff

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 .


Note You need to log in before you can comment on or make changes to this bug.