Date: Sun, 29 Nov 1998 20:16:54 -0500 (EST) From: Thomas David Rivers <rivers@dignus.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/8903: NFS mounts & /etc/rc Message-ID: <199811300116.UAA11836@lakes.dignus.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811300116.UAA11836>