From nobody Mon May 23 09:01:37 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CE10B1AE9C18 for ; Mon, 23 May 2022 09:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6BCP26m4z4qx0 for ; Mon, 23 May 2022 09:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 253514AD1 for ; Mon, 23 May 2022 09:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24N91b6o036294 for ; Mon, 23 May 2022 09:01:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24N91bCQ036293 for bugs@FreeBSD.org; Mon, 23 May 2022 09:01:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 196192] failok option in /etc/fstab is not honored by fsck Date: Mon, 23 May 2022 09:01:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: billblake2018@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653296497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k465TU3Tm8R6dmkgVKvzsoJx1qkXmfQTflTe8QgOO1M=; b=L+0sp5zHRG85q7m78cJSOUusPFnFBJqRrT5J+6ER9f2JYLCgaaXiQj2/smY+LHJid4NC7k GE8zyTRt4x+ASwJE8zffyajsHB9sX1LzQa7GLg+4ClUaAISKa7hrayWzCDGnFvP0HPhPQ8 z76pVlPVRYV0nyOLIJiHCQ14cJLcfZIo+9WJl43UBBcTNanp4LFHan/feKEoy4FCooFuh4 dXDzI0IBDLJIy/yPfujczgM2IX2472OR38Q1ulbUoIiwOb6Y9YKX0Fqed46AGhWevs0pE7 KKXYxP1gapGapdOHBUgn5Y/L/3p7nd+Vxs/eY/d6tOPTbbhBxTHe44JYJWiEWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653296497; a=rsa-sha256; cv=none; b=sXdai43dhoM5r6Ppqlum+XKhiZFX+kH1ftfNeRYo2vyGTxv6qL1wbkR0FEA/JIa9AsC1oQ MKPe2wV56BYmG7fdgDA/vBKV4pKs6OH8e5zuRGDOi1kkeJa1L8SYJHi3PB8amX6X0rvnW3 DjDFcAKUhblpOgN7p/a3KjgE0s3BsUexqTLL38lfNcH6BohEQTwO3gFBXn1YKsZ0Fg+uxP tpnqzdb9UvqIkrzX0aKnUmOelDetLNIcNSfTqbgddQOoo6KQzE8PoiSfCvrhopg+76hPNA Wdby80htnDjxVfRrleanARmzrx302DGA1jOW1qKxuZmqQxvwOyd1IFHcfJJsow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196192 Bill Blake changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |billblake2018@gmail.com --- Comment #1 from Bill Blake --- The same problem still exists in 13.0. In my case, I have a single root file system which I share among vm's, some= of which have a /home file system and some of which do not. I had assumed tha= t I could just put failok in my fstab and the vm boot would simply ignore a mis= sing /home. Not so, since fsck really does want that file system to exist, fail= ok or no. My workaround is to set passno to 0 in the fstab entry for the /home file system, leaving it to code in rc.local to do the fsck only when the associa= ted device exists. Kinda klugey, but it solves the problem. Anyway, there are two reasonable approaches to dealing with this issue. On= e is to make fsck honor the failok flag. The other is to note in the fstab man = page that, though mount honors the failok flag, fsck does not, and thus that this flag will not guarantee a proper boot when the file system is unavailable. --=20 You are receiving this mail because: You are the assignee for the bug.=