Comment 7 for bug 1337873

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: Precise, Trusty, Utopic - ifupdown initialization problems caused by race condition

I have introduced one big lock for ifupdown. The ifup, ifdown or ifquery commands cannot be run simultaneously.

Since SEVERAL ifupdown pre/post scripts do need to make reentrant calls do these commands I created on environment variable that disabled the locking when reentrant calls are made to these scripts. This way sysv and upstart networking scripts will never step into other's feet.

Attaching fix for ifupdown.

PS: This breaks even more ifenslave buggy behavior.. wait for next comments.