On Tue, 7 May 2013, Andrew Shadura wrote:
Hi, I was investigating this issue... This looks interesting, but... well, from what I see in the code, ifupdown currently fails as soon as it finds the lock is already taken, it doesn't wait at all. Or am I wrong?
lock_fd() calls fcntl() to F_GETLKW. If another lock exists, F_GETLKW will block until the other lock is released and one can be obtained for itself. This waiting behaviour is critical to being able to make parallel invocations of ifupdown. Cheers, Ray -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org