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

Bug 157267

Summary: net-misc/dhcpcd-3.0.2 periodically overrides /etc/resolv.conf
Product: Gentoo Linux Reporter: Sascha Hlusiak <bugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sascha Hlusiak 2006-12-05 15:03:36 UTC
I have net-misc/dhcpcd-3.0.2 installed. I'm connected to a network with a dhcp Server that provides the address of the DNS Server.

Seen behaviour:
1) dhcpcd starts f
Comment 1 Sascha Hlusiak 2006-12-05 15:03:36 UTC
I have net-misc/dhcpcd-3.0.2 installed. I'm connected to a network with a dhcp Server that provides the address of the DNS Server.

Seen behaviour:
1) dhcpcd starts für eth0, sets the default route and replaces /etc/resolv.conf
2) Running kppp to connect to a dialup network replaces my default route and the /etc/resolv.conf
3) when the DHCP lease expires (here after 1200 seconds) it overrides the /etc/resolv.conf again
4) The default route is NOT renewed

This makes it hard for me to use a dialup client, because the DNS Servers are changed again after my network lease expires. 

Expected behaviour:
1) When first obtaining a DHCP lease, write the /etc/resolv.conf
2) When renewing a lease, the existing /etc/resolv.conf should be untouched, unless the network configuration has changed

Thanks,
Sascha
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 22:58:28 UTC
Why don't you emerge resolvconf-gentoo to manage /etc/resolv.conf for you?
Comment 3 Sascha Hlusiak 2006-12-07 15:42:28 UTC
Thank you, I did not know about resolvconf-gentoo. It works just fine now.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 15:47:07 UTC
Cool, closing then. Thanks for reporting back.