[Bug 78043] Re: udev stops pppd persist working
Teemu Torma
teemu at torma.org
Thu Jun 28 21:43:49 UTC 2012
I have been running something like the following setup on 10.04 for long
time without unusal problems:
auto eth1
iface eth1 inet static
post-up ifup ppplink
pre-down ifdown ppplink
...
iface ppplink inet ppp
provider myprovider
As far as I am concerned, this bug can be closed (I reported one of the duplicates).
--
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:
Incomplete
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