From owner-freebsd-bugs Sun Sep 21 15:40:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA22236 for bugs-outgoing; Sun, 21 Sep 1997 15:40:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA22223; Sun, 21 Sep 1997 15:40:01 -0700 (PDT) Resent-Date: Sun, 21 Sep 1997 15:40:01 -0700 (PDT) Resent-Message-Id: <199709212240.PAA22223@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, Tor.Egge@idi.ntnu.no Received: from pat.idi.ntnu.no (0@pat.idi.ntnu.no [129.241.103.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA22143 for ; Sun, 21 Sep 1997 15:38:57 -0700 (PDT) Received: from ikke.idi.ntnu.no (tegge@ikke.idi.ntnu.no [129.241.111.65]) by pat.idi.ntnu.no (8.8.6/8.8.6) with ESMTP id AAA17018 for ; Mon, 22 Sep 1997 00:38:49 +0200 (MET DST) Received: (from tegge@localhost) by ikke.idi.ntnu.no (8.8.7/8.8.5) id AAA01466; Mon, 22 Sep 1997 00:38:48 +0200 (MET DST) Message-Id: <199709212238.AAA01466@ikke.idi.ntnu.no> Date: Mon, 22 Sep 1997 00:38:48 +0200 (MET DST) From: Tor Egge Reply-To: Tor.Egge@idi.ntnu.no To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/4600: nfs lookups might give incorrect result Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: