Re: NFS bug in 2.1.48

Claus-Justus Heine (Heine@physik.rwth-aachen.de)
14 Aug 1997 16:38:00 +0200


Systemkennung Linux <linux@informatik.uni-koblenz.de> writes:

>
> Hi,
>
> the following program fails on a diskless Linux 2.1.48 machine with the
> error message "stale NFS file handle". The shell in use is bash 2.0
> with glibc 2.0.4.
>
> #!/bin/bash
> cat >/tmp/xxx <<BUGGY
> asdf
> BUGGY

Hi,

I get a similar error with tcl7.6 when using constructs like

#!/usr/local/bin/tclsh
exec cat /etc/inittab > /dev/null

The above results in the error output (assuming that ./foo contains
the above two lines):

error reading stderr output file: stale remote file handle
while executing
"exec cat /etc/inittab > /dev/nul"
(file "./foo" line 2)

Your little script, however, does NOT result in this error (talking
about 2.1.49). But there definitely is something wrong. What really
strikes me that both constructs don't fiddle with file descriptors
located on a NFS file system, only with pipes between processes. That
-ESTALE error _should_ be impossible.

Cheers

Claus