From citylink.dinoex.sub.org!admin@net2.dinoex.sub.org  Sat Jun 28 13:37:15 1997
Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04076
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Jun 1997 13:37:13 -0700 (PDT)
Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193])
          by mail.Contrib.Com (8.8.4/8.8.4) with SMTP
	  id WAA13050 for <freebsd.org!FreeBSD-gnats-submit>; Sat, 28 Jun 1997 22:37:06 +0200 (MET DST)
Received: from citylink.dinoex.sub.org by net2.dinoex.sub.org with uucp
	(Smail3.1.29.1 #1) id m0wi4Kf-000DznC; Sat, 28 Jun 97 22:42 CEST
Received: (from admin@localhost) by citylink.dinoex.sub.org (8.8.5/PMuch-B3b)
	id WAA28656; Sat, 28 Jun 1997 22:05:32 +0200 (CEST)
Message-Id: <199706282005.WAA28656@citylink.dinoex.sub.org>
Date: Sat, 28 Jun 1997 22:05:32 +0200 (CEST)
From: admin@citylink.dinoex.sub.org (Maschinenwart)
Reply-To: admin@citylink.dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: access via NFS fails during mount-operations on server
X-Send-Pr-Version: 3.2

>Number:         3980
>Category:       misc
>Synopsis:       access via NFS fails during mount-operations on server
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 28 13:40:01 PDT 1997
>Closed-Date:    Fri Aug 06 23:02:33 GMT 2004
>Last-Modified:  Fri Aug 06 23:02:33 GMT 2004
>Originator:     Peter Much
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Beyond the Future Shockwave: Convenience or Conviviality?
>Environment:

A NFS-Server and Clients, all running the same FreeBSD-Version.

>Description:

writes (maybe reads too) happening on a NFS-client and accessing a
NFS-imported filesystem will be denied with "permission denied":
this happens exactly at the time some other filesystem is mounted
onto the NFS-Server.

>How-To-Repeat:

Write some file onto a NFS-imported partition. Do it slowly;
let it be a "gzip -9"-output or something like that. Then mount
some other filesystem onto the server.

Bruce Evans asked me, if the "other filesystem" is NFS-exported,
and as far as I see, it either is, or it is a vnode-virtual file-
system and the respective real file resides on an NFS-exported
filesystem. (The first time this happened was during a "make
release", when the boot-floppies were built, & my src-tree is
writable exported to everywhere.) 

So, maybe, the fault is on my side, and one has to kill "nfsd"
before mounting NFS-exported filesystems, and restart it afterwards.
On the other hand, that effect with the vnode-filesystem shouldn't
happen. And anyway, if "nfsd" has to be stopped during mounts of
exported filesystems, then maybe "mount" should better do this
automatically...

>Fix:

As I got the idea not before writing this sheet, the workaround
could be to kill and restart "nfsd" before and after mounts of
exported filesystem...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: peter 
Responsible-Changed-When: Sun Apr 26 01:12:45 PDT 1998 
Responsible-Changed-Why:  
I'll look into this.. 
Responsible-Changed-From-To: peter->freebsd-bugs 
Responsible-Changed-By: peter 
Responsible-Changed-When: Mon Mar 29 11:13:03 PST 2004 
Responsible-Changed-Why:  
Return neglected PR to the pool 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3980 
State-Changed-From-To: open->feedback 
State-Changed-By: dannyboy 
State-Changed-When: Fri Jul 16 23:50:53 GMT 2004 
State-Changed-Why:  
Is this still an issue on recent FreeBSD releases? Apologies 
for this bug's still being open in 2004. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3980 
State-Changed-From-To: feedback->closed 
State-Changed-By: dannyboy 
State-Changed-When: Fri Aug 6 23:01:46 GMT 2004 
State-Changed-Why:  
Originator no longer has test environment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3980 
>Unformatted:
