lkml.org 
[lkml]   [1998]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectweird nfs lseek bug in 2.0.35: mount point is suddenly toast
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.021 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site