Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239100

Summary: net-misc/dhcpcd-4.0.1-r1 creates empty /etc/resolv.conf
Product: Gentoo Linux Reporter: Philip Kovacs <pkdevel>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Philip Kovacs 2008-09-29 23:50:39 UTC
I upgraded to dhcpcd-4.0.1-r1 last night from 3.2.3 and I notice that it created an empty /etc//resolv.conf instead of my usual nameserver 192.168.0.101 entry.

Not sure if this is a configuration issue or a bug frankly.

I run net-dns/djbdns-1.05-r21 (dnscache) and dhcpcd 3.2.3 dis correctly create the 'nameserver 192.168.0.101' entry in /etc/resolv.conf, but 4.0.1-r1 creates no entries -- just the head/tail comment.

Here is my /etc/conf.d/net:

dns_domain=( "lan.net" )
dns_search=( "lan.net" )
config_eth0=( "dhcp" )
dhcp_eth0="nodns"
dns_servers_eth0=( "192.168.0.101" )

3.2.3 creates the following (correct) /etc/resolv.conf:

#Generated by net-scripts for interface eth0
domain lan.net
search lan.net
nameserver 192.168.0.101

but 4.0.1-r1 does not populate that file with any non-comment entries.

Help!



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 23:59:33 UTC

*** This bug has been marked as a duplicate of bug 239098 ***