Date: Mon, 22 Sep 1997 00:38:48 +0200 (MET DST) From: Tor Egge <Tor.Egge@idi.ntnu.no> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/4600: nfs lookups might give incorrect result Message-ID: <199709212238.AAA01466@ikke.idi.ntnu.no> Resent-Message-ID: <199709212240.PAA22223@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4600 >Category: kern >Synopsis: nfs lookups might give incorrect result >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 21 15:40:00 PDT 1997 >Last-Modified: >Originator: Tor Egge >Organization: Norwegian University of Science and Technology, Trondheim, Norway >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD ikke.idi.ntnu.no 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Sep 21 19:58:26 MET DST 1997 root@ikke.idi.ntnu.no:/usr/src/sys/compile/TEGGE_SMP i386 >Description: The nfs lookup method does not take into account that files might have been moved on the nfs server. >How-To-Repeat: on NFS server: mkdir test mkdir test/OLD echo 42 > test/1 on NFS client: ls -l test cat test/1 on NFS server: mv test/1 test/OLD/1 wait until nfs attribute cache entries times out (60 seconds), then on NFS client: ls -l test cat test/1 Unless resource starvation has flushed the namecache entries on the NFS client, the contents of test/OLD/1 is shown during the cat operation, even though the ls output indicates that test/1 does not exist. >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709212238.AAA01466>