[Bug 78043] Re: udev stops pppd persist working
imagine
78043 at bugs.launchpad.net
Thu Feb 23 20:09:04 UTC 2012
I use the workaround presented in posting #8 successfully in Ubuntu
10.04 and 10.10. So it's not without effect. I can't comment on why it
doesn't work in your situation though. Maybe you forgot to change the
connection names from ppp1 and ppp2 to whatever you use.
In any way, your root problem of a timing out ppp connection is
unrelated to this bug. A faulty modem or an unstable line could be the
cause for that. Also "LCP terminated by peer" suggests that the
connection was closed by the remote side (after more than 8 days).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/78043
Title:
udev stops pppd persist working
Status in “ifupdown” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: udev
Product: Ubuntu Server
Version: 6.10
Component:udev
Severity: High
Priority: High
URL: http://rants.atmurray.net/2007/01/pppd-persist-not-so-persist-with-udev.html
Summary: udev stops pppd persist working
Description:
When a pppd session is disconnected it triggers the udev script /etc/udev/rules.d/85-ifupdown.rules to ifdown the ppp link which kills pppd and stopping a reconnection.
Steps to Reproduce:
1) Create a persistent ppp connection and have it set to auto in /etc/network/interfaces
2) Cause it to disconnect
Actual Results: udev runs ifdown on the interface causing pppd to be sent the TERM signal
Expected Results: As it is a ppp link udev should not touch it.
Additional Builds and Platforms:
I believe this bug occurred and was fixed when hutplug was implemented.
SUSE linux has fixed this bug by explicitly skipping the udev actions for some link types
Additional Information:
I suggest the following two lines in /etc/udev/rules.d/85-ifupdown.rules be changed accordingly:
ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup --allow=hotplug $env{INTERFACE}"
ACTION=="remove", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifdown --allow=hotplug $env{INTERFACE}"
and then allow-hotplug be added to /etc/network/interfaces for
interfaces to be controlled by udev.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/78043/+subscriptions
More information about the foundations-bugs
mailing list