[Bug 38140] Re: dhclient3 keeps running after ifdown

jordg gbj at theforce.com.au
Sat Jul 5 01:46:16 BST 2008


Found this at:
http://wiki.openmoko.org/wiki/USB_Networking#Ubuntu_.28Tested_with_Feisty.2C_Gutsy_and_Hardy.29

It seems that LABEL="net_end" is in the wrong place
Can this be fixed now?

Edit /etc/udev/rules.d/85-ifupdown.rules

SUBSYSTEM=="net", DRIVERS=="?*", GOTO="net_start"
GOTO="net_end"

LABEL="net_start"

# Bring devices up and down only if they're marked auto.
# Use start-stop-daemon so we don't wait on dhcp
ACTION=="add",          RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"

LABEL="net_end"

ACTION=="remove",       RUN+="/sbin/start-stop-daemon --start
--background --pidfile /var/run/network/bogus --startas /sbin/ifdown --
--allow auto $env{INTERFACE}"

-- 
dhclient3 keeps running after ifdown
https://bugs.launchpad.net/bugs/38140
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list