From owner-freebsd-stable Sun May 13 8: 3:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 2F96837B423 for ; Sun, 13 May 2001 08:03:51 -0700 (PDT) (envelope-from fm@astral.ntu-kpi.kiev.ua) Received: from astral.ntu-kpi.kiev.ua (if-14-13-10M.astral.ntu-kpi.kiev.ua [10.100.0.14]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 6273E2F705 for ; Sun, 13 May 2001 18:03:43 +0300 (EEST) Received: (from fm@localhost) by astral.ntu-kpi.kiev.ua (8.11.3/8.11.1) id f4DF1bG78463 for freebsd-stable@FreeBSD.ORG; Sun, 13 May 2001 18:01:37 +0300 (EEST) (envelope-from fm) Date: Sun, 13 May 2001 18:01:37 +0300 From: "Dmitry A. Yanko" To: freebsd-stable@FreeBSD.ORG Subject: Re: rc script seems to be broken for nfs Message-ID: <20010513180136.A75267@astral.ntu-kpi.kiev.ua> References: <20010512034923.A98428@astral.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 , 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