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.
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.