Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-01-05
00:05 • Ticket [456665ffff] Linux NFS: fCmd-18.10 fails status still Closed with 4 o... artifact: 785750721a user: dgp
2001-09-06
07:30 • Ticket [456665ffff]: 7 changes artifact: fb8c83874b user: dgp
2001-08-30
04:30 • Closed ticket [456665ffff]. artifact: 3adc2e8f2c user: dgp
2001-08-29
21:29 • New ticket [456665ffff]. artifact: 1c95552478 user: dgp

Linux NFS: fCmd-18.10 fails

Closed / Invalid456665ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 22 years ago
Descriptionplain2001-08-29 21:29:18
For an even simpler demo, in tclsh:

proc x {} {
    file mkdir a b/a/c
    catch {file rename -force a b}
    file isdirectory b/a/c
}

Then evaluate [x] over and over.  It should
return "1" each time.  On my Linux/Alpha
system it alternates between "0" and
"can't create directory "b/a": file already
exists" 

This is apparently due to a bug in the Linux
kernel, and the fix is to upgrade to at least
2.2.18.
dgpplain2001-08-30 04:30:12
Logged In: YES 
user_id=80530

Closing this as invalid since the bug is apparently not
in Tcl.  It's on the record here to be found by others
seeing similar trouble.
dgpplain2001-09-06 07:30:29
Logged In: YES 
user_id=80530

Well, after a kernel upgrade, it's apparent I misdiagnosed
this.  Test fCmd-18.10 fails on Linux when the test
directory is an NFS-mounted directory.  This happens on
all tested versions of the Linux kernel, and on both
Alpha and Intel boxes.  It appears the test failure is
due to a bug in NFS for Linux.  That's still not Tcl's
fault, but let's point fingers at the right problem.
dgpplain2005-01-05 00:05:23
Logged In: YES 
user_id=80530


Added the "notNetworkFilesystem"
constraint to this test for Tcl 8.5.
Log in (anonymous is fine) to add a comment.