From nobody Wed Nov 8 22:43:51 2023 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 4SQg9g2mLQz50f19 for ; Wed, 8 Nov 2023 22:43:51 +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 4SQg9g0xp7z4kym for ; Wed, 8 Nov 2023 22:43:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699483431; 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=07UjDnAyEHpBaMOZqVD/67Aq589MbR3Hk0Es+pygL2w=; b=mpHk0FqR8GXommlYwfMgb2nN70ZRo9JLy2RM67u4WsXS5gecHXZpFlwvdY7HH6e0wSgA5d CHkEX20yndhIiu8mdaU7GL1M/KerCjz4CUuD81sGHTsxqVi1NujaWjCoywtG5WpyYFon/6 cDTVfkQS//MPUVn7DMt95U2E7S5G/swL6OB0Qm6BbVUVHh+x2KjSHxrbssgoDu6HCrtbT5 7pEMvB4itiIJcNTwRRv9TZ/x41FJpQUuQU7lrM+rbp3Zu0TLNDChZiifjCHNoHpLzY9Wlj SPAaXh0XKM4Y0IaI1/UiHbSeZ81TcwtO+WUYS4McYqzG86/OFYcgtC1G1X1nfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699483431; a=rsa-sha256; cv=none; b=lQ+0LJpBdvqMYUszEGcA8t7y3alipfI4RNATiV5Bi1mIkAkYhB9/mW29Mu6v4KQumaCWoO jUB9GhO6S7rgxOM4JFuq+J1LFu9QugWuylDPEVIQQGpO/oR16W3ZUzwfXmm214fYQ7vZeV UAjGStwt5N27Gb4VR91THvug9+2L0rPJnQ/rsOW4JOuHcpDea36ppTh5Q59kaU2sEBFtlU NN7MLUOSa0DLDRiMRSjOIO+nl9KGDlP9orgNVhKKRwXCBOYws3y6FCWKcn8NisVyRZTATQ BQPFAdew+6yakZRdPzixZUiF5bnZuVDHJB6pHQNZOsruHRRuFyp84QSK8kdxZQ== 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 4SQg9f6dvMzr6S for ; Wed, 8 Nov 2023 22:43:50 +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 3A8Mho3u046773 for ; Wed, 8 Nov 2023 22:43:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A8MhoZJ046771 for bugs@FreeBSD.org; Wed, 8 Nov 2023 22:43:50 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 274977] [rc] [patch] /etc/rc.initdiskless: /rescue/tar: not found Date: Wed, 08 Nov 2023 22:43:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274977 Bug ID: 274977 Summary: [rc] [patch] /etc/rc.initdiskless: /rescue/tar: not found Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: cc@FreeBSD.org During the installation of FreeBSD13.2 via UEFI PXE on a mini PC, I encount= ered this problem from the console. * /etc/rc.initdiskless: /rescue/tar: not found: I didn=E2=80=99t found this= file in the base system extracted from the official archives such as FreeBSD-13.2-RELEASE-amd64-bootonly.iso or FreeBSD-13.2-RELEASE-amd64-disc1.iso. Instead, I edited the etc/rc.initdisk= less file where the tar is: diff --git a/libexec/rc/rc.initdiskless b/libexec/rc/rc.initdiskless index 9b37497c1e7e..ac305ffced5f 100644 --- a/libexec/rc/rc.initdiskless +++ b/libexec/rc/rc.initdiskless @@ -376,7 +376,7 @@ for i in ${templates} ; do if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" - (cd / ; /rescue/tar -xpf $j) + (cd / ; /usr/bin/tar -xpf $j) fi done for j in /conf/$i/*/extract ; do --=20 You are receiving this mail because: You are the assignee for the bug.=