For those who are going to use or have tried my fix.
Martin is correct.

ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile 
/var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"
The '--' applies to start-stop-daemon, not to ifup. Everything after -- is 
passed as arguments to the program given in --startas, so this is resolved to

 ifup --allow auto ethX

I must have missed the section of the man page for start-stop-daemon
that explains this.

If you apply my fix 'ifup' and 'ifdown' will probably run without any arguments 
and effectively do nothing.
This is most likely why the problem disappeared for me because the network 
interfaces where not being brought up by udev.

-- 
network has to be started each time system is booted
https://bugs.launchpad.net/bugs/50099
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to