Bug#753755: Big lock approach not correct. Will change it.

2014-08-14 Thread Rafael David Tinoco
Comments: Suggestion to fix race condition present on this bug. Testing this approach and will get back to this soon. (Will run previous test cases for some hours). I have also other change to put together lock and stage file on different files for each interface but the change is big and not sui

Bug#753755: Big lock approach not correct. Will change it.

2014-07-23 Thread Andrew Shadura
Hello, On Tue, 22 Jul 2014 21:32:40 -0300 Rafael David Tinoco wrote: > Instead of using the locking mechanism implemented today (locking > ifstate.lock file), or the big lock approach (which I suggested in > the beginning of this bug), I'll change the locking mechanism to > create one lock file

Bug#753755: Big lock approach not correct. Will change it.

2014-07-22 Thread Rafael David Tinoco
This big lock approach does not work the way it was suggested. During ifupdown development several attempts were made to avoid race conditions (fine grained locking mechanism). The thing is that, IMHO, they do not take in consideration every possible combination with external scripts (called f