From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 23 12:20:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C33C9109 for ; Thu, 23 Jan 2014 12:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E72A1700 for ; Thu, 23 Jan 2014 12:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0NCK0jT002195 for ; Thu, 23 Jan 2014 12:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0NCK0uC002194; Thu, 23 Jan 2014 12:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 23 Jan 2014 12:20:00 GMT Resent-Message-Id: <201401231220.s0NCK0uC002194@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, "Brian O'Regan" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D87E4F0B for ; Thu, 23 Jan 2014 12:14:28 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C4BA316CF for ; Thu, 23 Jan 2014 12:14:28 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0NCESnu000431 for ; Thu, 23 Jan 2014 12:14:28 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0NCESG4000423; Thu, 23 Jan 2014 12:14:28 GMT (envelope-from nobody) Message-Id: <201401231214.s0NCESG4000423@oldred.freebsd.org> Date: Thu, 23 Jan 2014 12:14:28 GMT From: "Brian O'Regan" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: conf/186032: failok option in /etc/fstab not being honored when NFS export is unavailable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 12:20:00 -0000 >Number: 186032 >Category: conf >Synopsis: failok option in /etc/fstab not being honored when NFS export is unavailable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 23 12:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Brian O'Regan >Release: 10 >Organization: >Environment: FreeBSD basebsd10 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When attempting to boot FreeBSD 10 when we try to mount an export that is not currently available the boot process stalls at [tcp] 192.168.1.2:/x: RPCPROG_NFS: RPC: Program not registered and loops until the export becomes available. fstab(5) documentation mentions: "If the option ``failok'' is specified, the system will ignore any error which happens during the mount of that filesystem, which would otherwise cause the system to drop into single user mode. " My expectation is if we set failok we should ignore the RPC error and continue to boot. root@basebsd10:/var/log # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0p2 / ufs rw 1 1 /dev/da0p3 none swap sw 0 0 192.168.1.2:/x/x /mnt/x nfs rw,failok 0 0 >How-To-Repeat: Point /etc/fstab to an export that is not available and boot the machine. >Fix: >Release-Note: >Audit-Trail: >Unformatted: