I just stumbled across Debian bug report #367715 which has the following title.
ppp: overwrites /etc/resolv.conf despite "usepeerdns" being unset The report says about Debian ppp 2.4.4b1-1 that pppd sets the environment variable USEPEERDNS regardless of the option 'usepeerdns' being set or unset in a peer's configuration file. In that package, /etc/ppp/ip-up.d/0000usepeerdns already contained '[ "$USEPEERDNS" ] || exit 0'. If the ppp package hasn't been fixed since then, then to check that usepeerdns is set it won't suffice to check for "$USEPEERDNS" being nonempty. William McCall: Can you please test with the current version of the ppp package? If you put [ "$USEPEERDNS" ] || exit 0 near the top of /etc/ppp/ip-up.d/000resolvconf does that suffice to prevent the malfunction that you reported? Or does it have to be [ "$USEPEERDNS" = 1 ] || exit 0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1085756 Title: /etc/ppp/ip-up.d/000resolvconf doesn't check if envvar USEPEERDNS is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1085756/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs