Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406139 - net-dialup/ppp-2.4.5-r2: /etc/resolv.conf gets emptied upon connection re-negotiation
Summary: net-dialup/ppp-2.4.5-r2: /etc/resolv.conf gets emptied upon connection re-neg...
Status: RESOLVED DUPLICATE of bug 400845
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 13:06 UTC by Martin Mokrejš
Modified: 2015-01-12 13:27 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 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.