From owner-freebsd-bugs Tue Mar 21 16:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CEAB437BF04 for ; Tue, 21 Mar 2000 16:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA66340; Tue, 21 Mar 2000 16:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 72B2637BF39 for ; Tue, 21 Mar 2000 16:00:29 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id TAA17988 for ; Tue, 21 Mar 2000 19:00:27 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id SAA06408; Tue, 21 Mar 2000 18:59:57 -0500 (EST) (envelope-from gallatin@cs.duke.edu) Message-Id: <200003212359.SAA06408@grasshopper.cs.duke.edu> Date: Tue, 21 Mar 2000 18:59:57 -0500 (EST) From: Andrew Gallatin Reply-To: gallatin@cs.duke.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/17540: NIS host lookups cause NFS mounts to wedge at boot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17540 >Category: conf >Synopsis: NIS host lookups cause NFS mounts to wedge at boot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 16:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Andrew Gallatin >Release: FreeBSD 4.0-RELEASE i386 >Organization: >Environment: FreeBSD 4.0-RELEASE as an NIS client, static NFS mounts out of /etc/fstab, and nis first in /etc/host.conf >Description: Portmap is not started until until the pass2 portion of rc.network is executed. However, network_pass2 is run after we mount NFS filesystems. This is problematic in some environments if you have have nis as one of the 1st entries in the host search order in /etc/host.conf. The problem is that the resolver cannot contact portmap to realize that ypbind isn't available. So the machines sits at Mounting NFS file systems. for quite some time. Long enough for somebody to assume the machine is wedged. >How-To-Repeat: Change /etc/host.conf so that nis is first in the search order, add an nfs mount to /etc/fstab, reboot. >Fix: Start portmap before attempting any NFS mounts. I suppose a shorter timeout when portmap cannot be contacted would also be a good fix. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message