Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157267 - net-misc/dhcpcd-3.0.2 periodically overrides /etc/resolv.conf
Summary: net-misc/dhcpcd-3.0.2 periodically overrides /etc/resolv.conf
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 15:03 UTC by Sascha Hlusiak
Modified: 2006-12-07 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.