Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15462 - [ppp] using different variable as rp-pppoe
Attached to Project:
Arch Linux
Opened by Christofer Stoll (creyon) - Thursday, 09 July 2009, 18:48 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 09 July 2009, 19:19 GMT
Opened by Christofer Stoll (creyon) - Thursday, 09 July 2009, 18:48 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 09 July 2009, 19:19 GMT
|
DetailsDescription:
The package rp-pppoe 3.10-1 says in /etc/ppp/pppoe.conf: # Obtain DNS server addresses from the peer (recent versions of pppd only) # In old config files, this used to be called USEPEERDNS. Changed to # PEERDNS for better Red Hat compatibility PEERDNS=yes but in ppp 2.4.4-8 the file /etc/ppp/ip-up.d/00-dns.sh is checking for $USEPEERDNS. Fix (diff): 3c3 < if [ "$USEPEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then --- > if [ "$PEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then I got both package versions from a clean install and pacman -Syu. Cheers, creyon |
This task depends upon
usepeerdns
Ask the peer for up to 2 DNS server addresses. The addresses supplied by the peer (if any) are passed to the /etc/ppp/ip-up script in the environment variables DNS1 and DNS2, and the environment variable USEPEERDNS will be set to 1. In addition, pppd will create an /etc/ppp/resolv.conf file containing one or two nameserver lines with the address(es) supplied by the peer.
I don't know or care what rp-pppoe does, the documentation of ppp has the last word here.