From owner-freebsd-bugs Sat Dec 9 22:03:07 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA00412 for bugs-outgoing; Sat, 9 Dec 1995 22:03:07 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA00280 for ; Sat, 9 Dec 1995 22:02:53 -0800 (PST) Received: from gate.ti.com (news.ti.com [192.94.94.33]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id UAA01930 for ; Sat, 9 Dec 1995 20:28:11 -0800 Received: from landru.mtc.ti.com ([157.170.31.46]) by gate.ti.com (8.6.12/) with ESMTP id WAA12475 for ; Sat, 9 Dec 1995 22:27:50 -0600 Received: from raptor.mtc.ti.com (raptor.mtc.ti.com [157.170.31.48]) by landru.mtc.ti.com (8.6.12/8.6.12) with ESMTP id WAA20640 for ; Sat, 9 Dec 1995 22:28:10 -0600 Received: (from jasonm@localhost) by raptor.mtc.ti.com (8.6.12/8.6.12) id WAA09693 for freebsd-bugs@FreeBSD.ORG; Sat, 9 Dec 1995 22:28:10 -0600 From: Jason Mechler Message-Id: <199512100428.WAA09693@raptor.mtc.ti.com> Subject: nfs client bug in /etc/rc To: freebsd-bugs@FreeBSD.org Date: Sat, 9 Dec 1995 22:28:09 -0600 (CST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@FreeBSD.org Precedence: bulk I discovered an error in /etc/rc relating to mounting nfs filesystems at boot time. The line mount -a -t nfs >/dev/null 2>&1 comes immediately after /etc/netstart is run. Unfortunately, this is before the nfsiod daemon is started, so if there are any nfs filesystems in /etc/fstab, the systems hang for a while and then finally gets an RPC Portmapper error when trying to do the nfs mounts. It's certainly easy to fix. You just have to move the above line into the nfs_client section as below. if [ "X${nfs_client}" = X"YES" ]; then echo -n ' nfsiod'; nfsiod -n 4 new--> mount -a -t nfs >/dev/null 2>&1 fi ------------- Jason Mechler jasonm@ccwf.cc.utexas.edu