From owner-freebsd-bugs Sun Nov 29 17:19:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27780 for freebsd-bugs-outgoing; Sun, 29 Nov 1998 17:19:25 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27771 for ; Sun, 29 Nov 1998 17:19:23 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA10908; Sun, 29 Nov 1998 17:20:03 -0800 (PST) Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27625 for ; Sun, 29 Nov 1998 17:16:31 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id UAA18528 for ; Sun, 29 Nov 1998 20:16:23 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.1/8.8.5) with ESMTP id UAA01051 for ; Sun, 29 Nov 1998 20:56:23 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.1/8.6.9) id UAA11836; Sun, 29 Nov 1998 20:16:54 -0500 (EST) Message-Id: <199811300116.UAA11836@lakes.dignus.com> Date: Sun, 29 Nov 1998 20:16:54 -0500 (EST) From: Thomas David Rivers Reply-To: rivers@dignus.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/8903: NFS mounts & /etc/rc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8903 >Category: conf >Synopsis: /etc/rc can do NFS mounts before the network is "up" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 29 17:20:02 PST 1998 >Last-Modified: >Originator: Thomas David Rivers >Organization: Dignus, LLC >Release: FreeBSD 3.0-RELEASE i386 >Environment: Stock 3.0-RELEASE >Description: In /etc/rc - we do NFS mounts after the first stage of network startup (stage #1). However, named isn't started until a later stage. So, if you're also running a name server - you're NFS mounts hang. >How-To-Repeat: Add NFS mounts (by name) to /etc/fstab and run a primary name server for your zone. >Fix: I found the following diff to /etc/rc fixed my problem; but it moves the NFS mounts until after the third stage of network startup. I can imagine this might make diskless support a little "hairy". So - I left the original location commented out... *** rc.ori Sat Nov 28 16:20:48 1998 --- rc Sat Nov 28 16:35:33 1998 *************** *** 137,145 **** network_pass1 fi ! echo -n "Mounting NFS file systems" ! mount -a -t nfs ! echo . # Whack the pty perms back into shape. chmod 666 /dev/tty[pqrsPQRS]* --- 137,145 ---- network_pass1 fi ! #echo -n "Mounting NFS file systems" ! #mount -a -t nfs ! #echo . # Whack the pty perms back into shape. chmod 666 /dev/tty[pqrsPQRS]* *************** *** 207,212 **** --- 207,213 ---- network_pass2 fi + # Check the quotas (must be after ypbind if using NIS) if [ "X${check_quotas}" = X"YES" ]; then echo -n 'checking quotas:' *************** *** 219,224 **** --- 220,228 ---- network_pass3 fi + echo -n "Mounting NFS file systems" + mount -a -t nfs + echo . # build ps databases kvm_mkdb >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message