From owner-freebsd-stable@freebsd.org Sun Jun 17 22:16:57 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 D2017100CCEF for ; Sun, 17 Jun 2018 22:16:56 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5532E826BA for ; Sun, 17 Jun 2018 22:16:55 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-wm0-x22e.google.com with SMTP id r15-v6so11052818wmc.1 for ; Sun, 17 Jun 2018 15:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yHJvNcJQtbdfosycGp6JXq53RTb7YloTbbaZSO5OKMQ=; b=mZW2uxxjKtg5bIyaS40RjgduKt5pI6l6qcZfelPg+3L+JobgBgxqpvZn3YWcvQTDsL 2crhS1Sh/Q6bzEvzI6FMmIniU0X+pDUvgDOyQh2W5thqEnMALOyKFZ7V2g9JidzJHgdu s2QhHXP18MPdcAZ0QmDCJDkOypxx8zlMlITq8VI1JStB/AJHLSkwwq3HdbKkqd7p28ei VaziozBzy8FFUSgOJf9nyPsMXSG/L8e6Dis3AUTRvbr2IMwG1cET8lg82ZGw32XxjfeV Wg71sMfFQpkc19HqV4U+IQvurWnE5ScXt90jLxOFHwKL5kvE0gAOWlTo04hqRQwUsPlo c7aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yHJvNcJQtbdfosycGp6JXq53RTb7YloTbbaZSO5OKMQ=; b=LjRt69wnI+Vbd9h6NcBl9RqZa7V9M9YCuTQ75bGFYddQuQy+o4oQUikOQ6u6SpN/ax ZJnmkFL9/MbzaCK8zfjPBI5n+sB5kOB5Miy4j3e9OT6JF4VxMIYXWidVJK679PTPdIGE vhAACmSHe3HftvzNgjU/8hUdhZkMND5e8RJIeQsRhHVJWITUVocQxoBOS9x5yegcNUD/ hVK9D6CBoJLfvopMJk6IUoFHzNFEKQoBGBylbwKFHTPVD2UCdBOrDmUuJdgETgbLxKC3 k747K8TjiLmE/wmkU9I9Fd4fPMCDe0EAup5DkCKeLdgq67qBsyHMxa/1AZ71idn3TpOG WVkQ== X-Gm-Message-State: APt69E1YxbTG0eljZjjW5xSVffS5BrFAr4+XyLgIeqagO59gew65nQYn ndtAcAfWlBegG5Yw+2I83jSNbLKx+XLHcGy2kt7f7w== X-Google-Smtp-Source: ADUXVKIWeX4afUidXV3m2pIKaWBNLtV2s+tk+4Vf1XdQaO4AqK6YYxNcsVTCtriYt02V4H69KztgQ/JZT2TioYaeh3Q= X-Received: by 2002:a50:c211:: with SMTP id n17-v6mr9166960edf.11.1529273813904; Sun, 17 Jun 2018 15:16:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:add4:0:0:0:0:0 with HTTP; Sun, 17 Jun 2018 15:16:53 -0700 (PDT) X-Originating-IP: [203.99.129.1] In-Reply-To: <20180617211658.GU2493@kib.kiev.ua> References: <20180617211658.GU2493@kib.kiev.ua> From: Jonathan Chen Date: Mon, 18 Jun 2018 10:16:53 +1200 Message-ID: Subject: Re: regression: tmpfs in /etc/fstab results in boot stoppage To: Konstantin Belousov Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" 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 22:16:57 -0000 On 18 June 2018 at 09:16, Konstantin Belousov wrote: > 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. Yup. That was the problem. That'll teach me to cut and paste. Sorry for the noise. -- Jonathan Chen