[Bug 78043] Re: udev stops pppd persist working
FrankAu
terabite at bigpond.com
Wed Feb 22 22:04:11 UTC 2012
The "post-stop" workaround is not effective in my situation.
I have documented the history so far in a forums thread (before
discovering this bug report) at ...
http://ubuntuforums.org/showthread.php?t=1918431
FWICT a nuanced difference to other reports may be the means by which
pppd dies! In my case it seems to self destruct and I am not yet
convinced any service (udev et al) is actually responding at all let
alone responding incorrectly.
As mentioned in the bug (just marked as duplicate) #824596 I am looking
to increase the logging levels to ascertain whom is doing what when.
First I have to bone up on Lucid upstart'isms being that I am somewhat
of a Hardy curmudgeon.
--
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