site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hello, <<<<<<<<<<<<<<<<<< bigmac:~ jonas$ cat sd90mac #!/bin/bash export DISPLAY=:0 ssh -CX jmaebe@sd90mac <<<<<<<<<<<<<<<<<<< 15104 rm CALL getuid 15104 rm RET getuid 213/0xd5 15104 rm CALL ioctl(0,FIODTYPE,0xbffffbe0) 15104 rm RET ioctl 0 15104 rm CALL lstat(0xbffffd8f,0xbffffb80) 15104 rm NAMI ".Xauthority" 15104 rm RET lstat 0 15104 rm CALL access(0xbffffd8f,0x2) 15104 rm NAMI ".Xauthority" 15104 rm RET access 0 15104 rm CALL unlink(0xbffffd8f) 15104 rm NAMI ".Xauthority" 15104 rm RET unlink -1 errno 22 Invalid argument 15104 rm CALL write(0x2,0xbffff2a0,0x4) 15104 rm GIO fd 2 wrote 4 bytes "rm: " 15104 rm RET write 4 15104 rm CALL write(0x2,0xbffff2f0,0xb) 15104 rm GIO fd 2 wrote 11 bytes ".Xauthority" 15104 rm RET write 11/0xb 15104 rm CALL write(0x2,0x9010791c,0x2) 15104 rm GIO fd 2 wrote 2 bytes ": " 15104 rm RET write 2 15104 rm CALL write(0x2,0xbffff300,0x11) 15104 rm GIO fd 2 wrote 17 bytes "Invalid argument " <<<<<<<<<<<<<<<<<<< Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have a directory in my home directory which is shared via NFS to several Linux clients. Every now and then, the following happens (bigmac = my machine, sd90mac = a Linux Fedora Core 2 machine): bigmac:~ jonas$ ./sd90mac Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/bin/X11/xauth: unable to link authority file /user/jmaebe/.Xauthority, use /user/jmaebe/.Xauthority-n jmaebe@SD90MAC:~$ <<<<<<<<<<<<<<<<<<< (the warning about the fake authentication data is because X11's not running locally currently). I can also not delete the .Xauthority file on my own machine when this happens. The relevant part of the ktrace of "rm .Xauthority": What I can do to fix this, is to move the file to another directory (either locally or on the linux box, using the "mv" command) and then delete the file without any problems. At the next login, this file is recreated without a problem and it will keep working fine for a while. I only have that problem with that particular file and if I don't fix it, also with the replacement ".Xauthority-n" file after a while. Now, if this is caused by file system corruption, it happens "consistently", in the sense that I had this problem on my old G4 and also on my new G5 (which have different hard disks). I have no idea what exactly triggers it however (it happens seemingly randomly). I'm running 10.3.5, but it has happened during all incarnations of 10.3. I don't think it happened under 10.2.x, but I'm not sure anymore. Is there any way to get more details as to what exactly causes unlink to return "invalid argument" for this file? This email sent to site_archiver@lists.apple.com