From nobody Wed Mar 16 00:41:57 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 7CD3B1A12668 for ; Wed, 16 Mar 2022 00:41:58 +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 4KJBLG26syz4pHr for ; Wed, 16 Mar 2022 00:41:58 +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 2A13C4704 for ; Wed, 16 Mar 2022 00:41:58 +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 22G0fwpO014129 for ; Wed, 16 Mar 2022 00:41:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22G0fw0f014128 for bugs@FreeBSD.org; Wed, 16 Mar 2022 00:41:58 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 262580] fsck fails system startup if USB disk is not yet configured Date: Wed, 16 Mar 2022 00:41:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: karels@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1647391318; 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; bh=sYhd4RR69ikjdcj8DstjZLHzsUqVrh50adQ/l+TyLe4=; b=K/v6PrzPjAnUDAr/WvuuuaUMK8XBXpL4y2oy8gL1x+u2yztRXTbSR5ZTn0Qxt9LJ9qb3BB RBmh5+p4TaxlE4mJjlykyTWOnNwu0Z+MV2ty/Ts9n128vtwV0mUCUb1D1o/VGinv9k9wMK DZgs7OtH7cJKLIE5VcEf+daoSgt2YEoimHzR6y/mXjCWhxaeRqqtxbUn+dzALrhoVPg6yr BQA1IuATTRc4GnbEfsAsXf/VwQaphC4Av22AVcFMgrZUq293aaFXyro6/IpB+rXmLKXWZi KWvtNkPKK1zS3amu61F7eD0A4o0K8OfyY8CoAJzYLW03yYe38taRpdfyR5O6XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647391318; a=rsa-sha256; cv=none; b=K0MZQB0zzPRl5n3CHyhobfyutzJLJ3WvB3GV9gST3Il7329RnuYEt1hmJziiDl7tHTF/fX S7AtXHTN3hUQM7SyzY9Ppgpa5YGK0CEWVoK6evgtMDzn5Z9K2IF2vL3DEUAJ5bJOGazviC WSbverZPNEyhbqYj+/0ShbXWgP+9zwcfhn0FFs2T/KGTJko7DCVQ1OIahL/ftAhJFiyqqA Rt9s70tHTXOPACHprlfuc0wShKD5fDft1C1g4djeG5PzUN5fRzoJ5EemVSCF/ATz6NGJYB 118wUNZ134w7GZ6MiT/Xc4jor3dm3fTOHCaZSbMtO2PRi39UOYoRG641cMS/7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262580 Bug ID: 262580 Summary: fsck fails system startup if USB disk is not yet configured Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: karels@freebsd.org I have a USB disk listed in /etc/fstab on a Raspberry Pi 4 system; the USB = disk is not root. When booting 13.1-BETA1, the system startup fails because fsck cannot open the disk device; the disk then configures shortly thereafter. I discovered that this setup worked in 13.0-RELEASE because fsck failed to op= en the disk, but then exited with status 3, causing /etc/rc.d/fsck to invoke root_hold_wait() from /etc/rc.subr. Once the USB bus and disk configured, = fsck was re-run successfully. In 13.1-BETA1, fsck exits with a status of 8 after failing to open the disk, aborting the startup. I verified that the releva= nt change was in fsck by copying fsck* from 13.0 onto the 13.1 system; that combination works. --=20 You are receiving this mail because: You are the assignee for the bug.=