[Scons-users] Text file busy race condition bug on linux

David Roundy roundyd at physics.oregonstate.edu
Thu Aug 22 21:21:07 EDT 2013


The file in question is not on NFS. The issue is that the file is open for
write while scons tries to execute it, and that is not allowed on any linux
filesystem.

David


On Thu, Aug 22, 2013 at 5:23 PM, Gary Oberbrunner <garyo at oberbrunner.com>wrote:


>

>

>

> On Thu, Aug 22, 2013 at 7:01 PM, David Roundy <

> roundyd at physics.oregonstate.edu> wrote:

>

>>

>> ...

>> The circumstances are that I am building an executable, and then running

>> that executable to generate another file. I am using a cache, and have

>> never observed the bug while the cache was disabled. The cache is on an

>> NFS filesystem (my home directory), and I have only observed the bug when

>> building on /tmp, which is a local disk. The error message is (just

>> cutting some of the output):

>> ...

>> sh: 1: ./hello-0059: Text file busy

>>

>>

> That's an NFS error. You won't see it on a local filesystem; all

> Unix/Linux filesystems can handle overwriting in-use files. But with NFS

> things get much more complex. Your best bet is to check and adjust your

> NFS mount options.

>

> --

> Gary

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>



--
David Roundy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130822/8b353c46/attachment.html


More information about the Scons-users mailing list