From owner-freebsd-stable@freebsd.org Sun Jun 17 21:17:16 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 038D7100B1BF for ; Sun, 17 Jun 2018 21:17:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63D2A8020C for ; Sun, 17 Jun 2018 21:17:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTP id w5HLGwqu081279; Mon, 18 Jun 2018 00:17:01 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w5HLGwqu081279 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w5HLGwPF081278; Mon, 18 Jun 2018 00:16:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 18 Jun 2018 00:16:58 +0300 From: Konstantin Belousov To: Jonathan Chen Cc: freebsd-stable@freebsd.org Subject: Re: regression: tmpfs in /etc/fstab results in boot stoppage Message-ID: <20180617211658.GU2493@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2018 21:17:16 -0000 On Mon, Jun 18, 2018 at 08:46:35AM +1200, Jonathan Chen wrote: > Hi, > > I've updated to r335297 on STABLE-11. My root fs is ZFS, and /etc/fstab is: > > # Device Mountpoint FStype Options Dump Pass# > /dev/gpt/irontree-swap none swap sw 0 0 > tmpfs /home/jonc/.cache tmpfs rw,size=512m,late 0 2 > > My /etc/rc.conf also contains: > background_fsck="NO" > > When I reboot the system, the kernel boots; but the startup scripts fail with: > > fsck: exec fsck_tmpfs for tmpfs in /sbin/:/usr/sbin: No such file or directory > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > tmpfs: tmpfs (/home/jonc/.cache) > > The system continues booting up as usual once I exit single-user mode. > The system used to boot up with any intervention prior to this. You specified fsck pass for tmpfs mount, which makes no sense and cannot work since there is no fsck_tmpfs. Fix you fstab.