Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384883 - net-dialup/ppp: with net-dns/openresolv /etc/ppp/ip-up.d/ stomps /etc/ppp/ip-up.d/ nameserver config
Summary: net-dialup/ppp: with net-dns/openresolv /etc/ppp/ip-up.d/ stomps /...
Status: RESOLVED DUPLICATE of bug 353045
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
Depends on:
Reported: 2011-09-29 07:54 UTC by Bill Prendergast
Modified: 2013-06-01 20:52 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Bill Prendergast 2011-09-29 07:54:56 UTC
when using net-dialup/ppp with net-dns/openresolv the /etc/ppp/ip-up.d/ script correctly sets nameservers in /etc/resolv.conf via openresolv -a [ifname] but then /etc/ppp/ip-up.d/ calls /etc/init.d/net.[ifname] and there are no nameservers servers available to the net.[ifname] script and it runs openresolv -a [ifname] without any nameservers. This results in /etc/resolv.conf being written without nameservers obtained through pppd

Reproducible: Always

Steps to Reproduce:
1. configure a ppp interface ppp[x]
2. cd /etc/init.d/ && ln -s net.lo net.ppp[x]
3. start the ppp interface (/etc/init.d/net.ppp[x] start
Actual Results:  
when pppd runs the ip-up scripts nameservers obtained from the remote ppp server are first added and then later removed from the system /etc/resolv.conf

Expected Results:  
that /etc/resolv.conf would have the pppd configured name servers.

running the after the does correctly add the nameservers to /etc/resolv.conf (i.e. by renaming to 

header from /var/run/resolvconf/interfaces/ppp0 when run by
# Generated by ppp for ppp0

header from /var/run/resolvconf/interfaces/ppp0 when run by
# Generated by net-scripts for interface ppp0
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2013-05-11 07:56:51 UTC
dup of bug#400845?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2013-06-01 20:52:38 UTC

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