All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] pppd makefile moves /etc/PPP/resolv.conf
@ 2015-01-26  6:49 Lee Essen
  2015-01-26 10:33 ` Gustavo Zacarias
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Essen @ 2015-01-26  6:49 UTC (permalink / raw)
  To: buildroot

Hi,

The current pppd package makefile has a post extract hook that changes the ppp generated resolv.conf from /etc/ppp/resolv.conf to /etc/resolv.conf with a comment suggesting that this is done because /etc/ppp might not be writable (and this location isn't useful because of where the c library looks.)

My assumption is that the original location provided you with flexibility to do clever things in the ppp-up script (and that's certainly what I want to do)

If you don't set usepeerdns then it looks like the server names don't get requested, so the creation of this file seems to be all or nothing - there is no way to work with just the env vars.

With the current buildroot setup your resolv.conf is overwritten with no option to do anything clever.

Wouldn't it be better to use /var/run/ppp.resolv.conf (or something similar) or even leave it as it was and include a symlink in /etc/ppp ??

Thanks,

Lee.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-26 16:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26  6:49 [Buildroot] pppd makefile moves /etc/PPP/resolv.conf Lee Essen
2015-01-26 10:33 ` Gustavo Zacarias
2015-01-26 13:27   ` Lee Essen
2015-01-26 14:09     ` Gustavo Zacarias
2015-01-26 15:52       ` Lee Essen
2015-01-26 16:07         ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.