Kernel NFS bugs -- guid directory invisible and nfs_dentry_delete

Bill Unruh (unruh@physics.ubc.ca)
Sun, 2 Jan 2000 13:24:28 -0800 (PST)


I am running Mandrake 6.1 kernel 2.2.13-22mdk, knfs1.4.1-2mdk
I found some very odd behaviour re the NFS.

Situation.
Filesystem /home on machine A is nfs exported (rw,no_root_squash) to
computer B:/disk9/home
There is a subdirectory
/home/unruh/acausal which has permissions drwxr-Sr-x
On computer A, that directory is perfectly visible to both the user and
to root. On the other hand on computer B
the contents of that directory are invisible either to root or to the
owner of that directory (unruh).
ls -lgad acausal
drwxr-Sr-x 2 unruh wheel 1024 Feb 6 1994 acausal/
ls -lga acausal
total 0
However if I do
ls -lga acausal/acausal
(acausal being a file under the directory acausal)
-rw-r--r-- 1 unruh wheel 1076 Jan 10 1992 acausal/acausal
Ie, the directory is acting as if the x (search) bit for the user was
not set, although it certainly is.

If as root I change the S to - or to s (ie chmod g+x acausal),
suddenly everything becomes visible. and stays visible even if I then
change the permission back to exactly where they were at the beginning.

(Now, why in the world I have the guid bit set on that subdirectory I do
not know, but I have a number of such. The file system was originally on
a SunOS 4.1.3 machine and was just transfered to a Mandrake Linux
machine which is when the problem cropped up.)

On a second question: On the same system, I occasionally get
messages.3:Dec 14 05:30:20 monopole kernel: __nfs_fhget: inode 696405 still busy , i_count=1
messages.3:Dec 14 05:30:27 monopole kernel: nfs_dentry_delete: .netscape/plugin- list.BAK: ino=696407, count=2, nlink=1
messages.3:Dec 14 05:30:38 monopole kernel: nfs_dentry_delete: 0E/cache3856A74E0 4D150D.gif: ino=544878, count=2, nlink=1

They do not seem to do much ( although one of my systems appeared to
crash in the midst of one of those error reports.)

They started suddenly, and seem at present to have disappeared again.

William G. Unruh Canadian Institute for Tel: +1(604)822-3273
Physics&Astronomy Advanced Research Fax: +1(604)822-5324
UBC, Vancouver,BC Program in Cosmology unruh@physics.ubc.ca
Canada V6T 1Z1 and Gravity http://axion.physics.ubc.ca/
For step by step instructions about setting up ppp under Linux, see
http://axion.physics.ubc.ca/ppp-linux.html

-
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/