Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2001 18:01:37 +0300
From:      "Dmitry A. Yanko" <fm@astral.ntu-kpi.kiev.ua>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: rc script seems to be broken for nfs
Message-ID:  <20010513180136.A75267@astral.ntu-kpi.kiev.ua>
In-Reply-To: <20010512034923.A98428@astral.ntu-kpi.kiev.ua>; from fm@astral.ntu-kpi.kiev.ua on Sat, May 12, 2001 at 03:49:23AM %2B0300
References:  <20010512034923.A98428@astral.ntu-kpi.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 12, 2001 at 03:49:23AM +0300, Dmitry A. Yanko wrote:
> It's seems, than during executing /etc/rc /sbin/mount try to mount nfs 
> filesystems without portmap and rpc.statd loaded.
I just looked at conf/11376 PR.
This problem is 2 years(!!) old. :(

============================================================
--- 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
 #
===================================================

-- 
#include <regards.h>, fm.
GnuPG fpr = 6101 9519 9A45 3D44 3BCB  0974 C774 5143 8F26 95B5
Mail message with GPG-KEY in subject to get my public key |&| DAY-RIPE

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010513180136.A75267>