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

Bug 406139

Summary: net-dialup/ppp-2.4.5-r2: /etc/resolv.conf gets emptied upon connection re-negotiation
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2012-02-28 13:06:03 UTC
I usee pppd for my main connection and this fetches DNS info from a remote DHCP server. The parsed values are stored in /etc/ppp/resolv.conf. Contents of this file get be added by "pppd" to /etc/resolv.conf. My provider forces re-negotiation after about 12hrs or so, which, I think, triggers "pppd" to revert the /etc/resolv.conf into the original state (with just the single comment line in it):

$ cat /etc/resolv.conf
# Generated by resolvconf
$

Then, pppd re-connects in few seconds, effectively gets same DNS info back but, does not append contents of the /etc/ppp/resolv.conf to /etc/resolv.conf. Some script just does not startup again anymore. Probably related to /etc/init.d/net.ppp0 contents because no "/etc/init.d/net.ppp0 restart" was called. Could iflplugd or similar tool be of help here?
Comment 1 Pacho Ramos gentoo-dev 2015-01-07 12:23:04 UTC
Is this still vapid with 2.4.7?
Comment 2 Sergey Popov gentoo-dev 2015-01-10 18:19:29 UTC

*** This bug has been marked as a duplicate of bug 400845 ***
Comment 3 Martin Mokrejš 2015-01-12 13:27:06 UTC
I do not have the remove server to test this against anymore, please try to reproduce this yourself.