Tcl Source Code

View Ticket
Login
Ticket UUID: 456665
Title: Linux NFS: fCmd-18.10 fails
Type: Bug Created on: 2001-08-29 21:29:18
Submitter: dgp Assigned to: dgp
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2005-01-05 00:05:23
Status: Closed Closed by: dgp
Resolution: Invalid Closed on: 2001-09-06 00:30:29
Version: None
Description:
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.
User Comments:
dgp added on 2001-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.

dgp added on 2001-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.

dgp added on 2005-01-05 00:05:23:
Logged In: YES 
user_id=80530


Added the "notNetworkFilesystem"
constraint to this test for Tcl 8.5.