Bug 51138

Summary: dhcpcd doesn't configure DNS
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: dhcpcdAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 7.3   
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: 2002-04-15 16:14: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:

Description Chris Ricker 2001-08-07 19:43:35 UTC
I've noticed this on two different beta3 machines so far.

dhcpcd is failing to configure DNS.  /etc/resolv.conf is totally empty
after the dhcp lease is obtained.  The DHCP server in both cases works fine
with 7.1 machines.  It's a standard ISC dhcpd (isc-dhcpd-V3.0b2pl24) on a
NetBSD server.

Nothing relevant gets logged:

Aug  7 07:16:37 station11 kernel: 00:10.0: 3Com PCI 3c905C Tornado at
0xe000,  00:01:03:de:59:09, IRQ 7
Aug  7 07:15:22 station11 sysctl: net.ipv4.ip_forward = 0 
Aug  7 07:16:37 station11 kernel:   product code 484e rev 00.3 date 03-01-01
Aug  7 07:15:22 station11 sysctl: net.ipv4.conf.all.rp_filter = 1 
Aug  7 07:16:37 station11 kernel:   8K byte-wide RAM 5:3 Rx:Tx split,
autoselect/Autonegotiate interface.
Aug  7 07:15:22 station11 sysctl: kernel.sysrq = 0 
Aug  7 07:16:37 station11 kernel:   MII transceiver found at address 24,
status 782d.
Aug  7 07:15:22 station11 network: Setting network parameters:  succeeded 
Aug  7 07:16:37 station11 kernel:   Enabling bus-master transmits and
whole-frame receives.
Aug  7 07:15:23 station11 network: Bringing up interface lo:  succeeded 
Aug  7 07:16:37 station11 kernel: 00:10.0: scatter/gather disabled. h/w
checksums enabled
Aug  7 07:16:37 station11 kernel: eth0: using NWAY device table, not 8
Aug  7 07:15:24 station11 ifup: Determining IP information for eth0... 
Aug  7 07:15:30 station11 ifup:  done. 
Aug  7 07:15:30 station11 network: Bringing up interface eth0:  succeeded

Comment 1 Glen Foster 2001-08-07 20:07:43 UTC
This defect is considered SHOULD-FIX for Fairfax

Comment 2 Chris Ricker 2001-08-15 19:10:48 UTC
I just encountered this problem on a third machine

Comment 3 Chris Ricker 2001-09-05 17:45:08 UTC
still true in RC2

Comment 4 Elliot Lee 2001-12-28 20:23:30 UTC
Eek, old bug.

Can anyone give a recent update on this? My machines work fine with dhcpcd,
which is why I'm not able to do anything about it (can't reproduce -> can't fix).

Comment 5 Chris Ricker 2002-01-08 21:38:56 UTC
Still true with 7.2 gold

Comment 6 Elliot Lee 2002-03-07 21:41:00 UTC
Since dhcpcd configures DNS wonderfully for large groups of people (myself
included), I pretty much need you to track this problem down in order to get any
sort of fix in. If there are any particular conditions for reproduction, let me
know.

Comment 7 Chris Ricker 2002-03-07 22:18:13 UTC
What information would you like?

Comment 8 Elliot Lee 2002-03-07 23:02:56 UTC
The only thing that is useful in producing a fix: a diagnosis of the problem. :)

I would just run dhcpcd under gdb and put a breakpoint at the place where it
writes out RESOLV_CONF, then step through that section and find out what input
it is getting and what it is doing with that.

If you want to do testing/debugging against the stuff under
ftp://people.redhat.com/sopwith/1.3.21pl2-5/, that's my current package that has
various fixes against the 7.2 one.

Comment 9 Chris Ricker 2002-08-30 12:58:43 UTC
Closing this -- the Qube2 running NetBSD has been retired after years of
honorable duty as DHCP server, and I haven't reproduced this w/ its RHL replacement