Messages in this thread | | | From | Peeter Joot <> | Subject | weird nfs lseek bug in 2.0.35: mount point is suddenly toast | Date | Fri, 9 Oct 1998 11:18:14 -0400 |
| |
Hello,
We have encountered a bizarre bug related to nfs on Linux.
Here is the senerio:
/xxxx/yyyy is an nfs mounted directory.
/xxxx/yyyy/daily/engn/squ/squ.mmk is a link pointing to S/squ.mmk
Running a perl script that did a 'if ( -l $_) { ... } where $_ was 'squ.mmk' caused the /xxxx/yyyy mount point to be sponaneously changed into a link to 'S/squ.mmk'.
Doing a strace on the perl script showed that it was executing an lstat system call at this point. This perl script does the same thing many other times, but when it gets to this file we toast our mount point.
Note that the offending perl script is being run from non-root id and is not suid root.
Peeter -- We are running 2.0.35 pre5, with one local patch to make the ELOOP threshold dynamically configurable.
Both the nfs server and client are running this kernel.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |