From Harlan.Stenn@pfcs.com Wed Apr 28 22:07:46 1999
Return-Path: <Harlan.Stenn@pfcs.com>
Received: from pcpsj.pfcs.com (harlan.clark.net [168.143.10.179])
	by hub.freebsd.org (Postfix) with ESMTP id 2708114E09
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Apr 1999 22:07:43 -0700 (PDT)
	(envelope-from Harlan.Stenn@pfcs.com)
Received: from mumps.pfcs.com [192.52.69.11] (HELO mumps.pfcs.com)
	by pcpsj.pfcs.com (8.9.3/8.9.3) via ESMTP
	id <BAA29704-Harlan.Stenn@pfcs.com> for <FreeBSD-gnats-submit@freebsd.org>;
	Thu, 29 Apr 1999 01:07:39 -0400 (EDT)
Received: from brown.pfcs.com [192.52.69.44] (HELO brown.pfcs.com)
	by mumps.pfcs.com (8.8.8/8.8.8) via ESMTP
	id <WAA02949-harlan@pfcs.com> for <freefall-gnats@pfcs.com>;
	Wed, 28 Apr 1999 22:07:27 -0700 (PDT)
Received: from harlan@localhost
	by brown.pfcs.com (8.8.8/8.8.8)
	id <BAA09693-harlan@pfcs.com>;
	Thu, 29 Apr 1999 01:07:25 -0400 (EDT)
Message-Id: <199904290507.BAA09693@brown.pfcs.com>
Date: Thu, 29 Apr 1999 01:07:25 -0400 (EDT)
From: Harlan Stenn <Harlan.Stenn@pfcs.com>
To: freefall-gnats@pfcs.com
Subject: NFS mount may be happening too soon in /etc/rc
X-Send-Pr-Version: 3.2

>Number:         11376
>Category:       conf
>Synopsis:       NFS mount may be happening too soon in /etc/rc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 28 22:10:01 PDT 1999
>Closed-Date:    Wed Sep 04 16:35:50 PDT 2002
>Last-Modified:  Wed Sep 04 16:35:50 PDT 2002
>Originator:     Harlan Stenn
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
PFCS Corporation
>Environment:

	Apparently in 2.2-STABLE, 3-STABLE, and -current

>Description:

	In /etc/rc, the "mount -a -t nfs" happens right after network_pass1,
	but the local NFS client daemons are not started until network_pass3.

>How-To-Repeat:

	Try specifying an NFS mounted filesystem in /etc/fstab.

>Fix:
	
	Move the mount of NFS filesystems after network_pass3


>Release-Note:
>Audit-Trail:

From: "Dmitry A. Yanko" <fm@astral.ntu-kpi.kiev.ua>
To: freebsd-gnats-submit@FreeBSD.org, Harlan.Stenn@pfcs.com
Cc:  
Subject: Re: conf/11376: NFS mount may be happening too soon in /etc/rc
Date: Sun, 13 May 2001 18:15:44 +0300

 Under FreeBSD 4.3-STABLE #2: Sun May 13 18:05:09 EEST 2001 problem still 
 exist.
 =============================================================
 --- rc.old      Sun May 13 17:34:34 2001
 +++ rc  Sun May 13 17:41:04 2001
 @@ -297,15 +297,6 @@
        ;;
 esac
 
 -# Mount NFS filesystems if present in /etc/fstab
 -case "`mount -d -a -t nfs`" in
 -*mount_nfs*)
 -       echo -n 'Mounting NFS file systems:'
 -       mount -a -t nfs
 -       echo '.'
 -       ;;
 -esac
 -
 # Whack the pty perms back into shape.
 #
 if ls /dev/tty[pqrsPQRS]* > /dev/null 2>&1; then
 @@ -412,6 +403,15 @@
 if [ -n "${network_pass2_done}" ]; then
        network_pass3
 fi
 +
 +# Mount NFS filesystems if present in /etc/fstab
 +case "`mount -d -a -t nfs`" in
 +*mount_nfs*)
 +       echo -n 'Mounting NFS file systems:'
 +       mount -a -t nfs
 +       echo '.'
 +       ;;
 +esac
 
 # Check the password temp/lock file
 #
 =============================================
 
State-Changed-From-To: open->suspended 
State-Changed-By: mike 
State-Changed-When: Fri Jul 20 08:46:55 PDT 2001 
State-Changed-Why:  

Awaiting committer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11376 

From: Mike Makonnen <makonnen@pacbell.net>
To: freebsd-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: conf/11376 NFS mount may be happening too soon in /etc/rc
Date: Wed, 04 Sep 2002 11:42:33 -0700

 I think this pr can be closed.
 
 The nfs client programs are not required for nfs mounts to work, whereas
 the nfs mounts may be mounting parts of the file system needed at
 startup (/var as an example) before the nfs clients.
 
 
 Cheers,
 Mike.
State-Changed-From-To: suspended->closed 
State-Changed-By: dwmalone 
State-Changed-When: Wed Sep 4 16:33:14 PDT 2002 
State-Changed-Why:  
I'd be inclined to agree with Mike here - the NFS client daemons 
shouldn't actually be needed to mount the filesystem, so the mount 
should work anyway. 

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