pppd makes a resolv.conf backup, then pppd-dns immediately restores it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce :
(1/Buy a serial or USB modem)
2/Configure through the "networking" method ( not "ppp" ), e.g adding those lines into /etc/network/
auto ppp0
iface ppp0 inet ppp
provider speedtch
3/Reboot. Score : ppp0 is up, but ISP DNS are not registered in /etc/resolv.conf, so I can't even ask for help on Ubuntu forums
What happens ? The problem is located inside the rcS.d folder : S40networking uppes ppp0, pppd negociates the ISP DNS, backups resolv.conf and after all writes down the ISP DNS into the file, but ere S55pppd-dns immediately restores the backup so the changes made by pppd are cancelled.
pppd-dns seems to be designed for the obsolete ( since years ) init.d/ppp script, not for init.d/networking, am i right ? If so, shouldn't it be removed along the whole obsolete stuff, then replaced by a if-up.d script ?
Anyway this is a very serious bug and is making every non-Ethernet modems owners very unhappy ( well actually only those requiring a connection at boot ), especially users of my speedtouch-ng package :( ( a configuration helper for Speedtouch USB/330 modems : http://
I've fixed it through modifying the boot sequence order so the pppd-dns runs before networking, i.e :
sudo update-rc.d -f pppd-dns remove
sudo update-rc.d pppd-dns start 39 S .
Is this susceptible to break something ?
description: | updated |
Changed in ppp: | |
status: | Unconfirmed → Confirmed |
Please ! Why don't you fix it ? I just see that Debian make it a S38, just like you before..