From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 28 23:30:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606A31065672 for ; Tue, 28 Oct 2008 23:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 31B658FC1B for ; Tue, 28 Oct 2008 23:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9SNU26T011481 for ; Tue, 28 Oct 2008 23:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9SNU2im011480; Tue, 28 Oct 2008 23:30:02 GMT (envelope-from gnats) Resent-Date: Tue, 28 Oct 2008 23:30:02 GMT Resent-Message-Id: <200810282330.m9SNU2im011480@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C5371065675 for ; Tue, 28 Oct 2008 23:24:50 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (ns1.riverwillow.net.au [203.58.93.40]) by mx1.freebsd.org (Postfix) with ESMTP id CB04D8FC1B for ; Tue, 28 Oct 2008 23:24:49 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from rwpc08.mby-g.riverwillow.net.au (rwpc08.mby-g.riverwillow.net.au [192.168.25.71]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.3/8.14.3) with ESMTP id m9SN9duT072946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Oct 2008 10:09:39 +1100 (AEDT) Received: from rwpc08.mby-g.riverwillow.net.au (localhost [127.0.0.1]) by rwpc08.mby-g.riverwillow.net.au (8.14.3/8.14.3/Submit) with ESMTP id m9SN9dMw002241 for ; Wed, 29 Oct 2008 10:09:39 +1100 (AEDT) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc08.mby-g.riverwillow.net.au (8.14.3/8.14.3/Submit) id m9SN9dsK002240; Wed, 29 Oct 2008 10:09:39 +1100 (AEDT) (envelope-from john) Message-Id: <200810282309.m9SN9dsK002240@rwpc08.mby-g.riverwillow.net.au> Date: Wed, 29 Oct 2008 10:09:39 +1100 (AEDT) From: John Marshall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/128448: 6.4-RC1 Boot Fails if NFS Hostname cannot be resolved (mount_nfs) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Marshall List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2008 23:30:02 -0000 >Number: 128448 >Category: kern >Synopsis: 6.4-RC1 Boot Fails if NFS Hostname cannot be resolved (mount_nfs) >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 Oct 28 23:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: John Marshall >Release: FreeBSD 6.4-RC1 i386 >Organization: Riverwillow Pty Ltd >Environment: System: FreeBSD rwpc08 6.4-RC1 FreeBSD 6.4-RC1 #0: Wed Oct 22 08:52:56 AEDT 2008 root@rwpc08:/build/obj/usr/src/sys/RWPC08 i386 >Description: In /etc/fstab I have... mynfssrv:/kits /kits nfs late,rw,-T,-b Booting with no network available, I see: --- Mounting late file systems: mynfssrv: hostname nor servname provided, or not known Mounting /etc/fstab filesystem failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Oct 22 11:46:56 rwpc08 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Oct 22 11:46:56 rwpc08 init: can't get /dev/console for controlling terminal: Operation not permitted (only recourse at this stage is to hit the power button and boot single user) --- If I comment out the nfs mount entry in /etc/fstab the system boots fine. If I replace the NFS server hostname with an IP address, I see the familiar behaviour of the NFS mount giving up and backgrounding - and the boot proceeding happily... 192.0.2.1:/kits /kits nfs late,rw,-T,-b --- Mounting late file systems:[tcp] 192.0.2.1:/kits: RPCPROG_NFS: RPC: Port mapper failure - RPC: unable t mount_nfs: Cannot immediately mount 192.0.2.1:/kits, backgrounding --- >How-To-Repeat: - Include an NFS mount in /etc/fstab (using hostname) - Unplug the network - Boot (at least, as far as it will go) >Fix: Workaround is to replace NFS server hostname with IP address in /etc/fstab >Release-Note: >Audit-Trail: >Unformatted: