From nobody Fri Dec 01 21:20:33 2023 X-Original-To: rc@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 4ShmDx690nz53Cx4 for ; Fri, 1 Dec 2023 21:20:33 +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 4ShmDx4Hk5z4Yld for ; Fri, 1 Dec 2023 21:20:33 +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=1701465633; 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=kYjP2wtG5p3aWfFTPZ4iNqZNF0Zzzec60Tmzctj/Ec8=; b=X4nbuwOzUpaOnI3GHvp1YedlZDXkP6s+apbhnV0uETMLATb1C/MiPOkMszFI67UuYgKUQP kqJIoiBMouPVDi67xP78vXO1vqbEpNAuTF8J0T3ivaINYf0B5Zmd+iC3IOXId1KIQBNHRM o4bPdg1Tn576iNmjtDH6wSQrw9rQAxtWyuM3GAK3CtWJW5M3heuu4E8WFPjnqG0ScNrdga sNOwE3U6sLX2wvR9Vh/9DjmbwexhiBYl8mDbKM4yl48Iny2MPdOmtSqjuUhAQ16t41kWk3 sLvX75tWxM6V9XTYzf83byIwl4zE1tb4Y2qQLYD4fAGpXIeIVVyE7eB3yXMVyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701465633; a=rsa-sha256; cv=none; b=fCk5bDxYHziiI9hdtGKw8E67flG2OXUBbuBv3jWxksAUJYMy5JOW4bWq5NqIRwIojPmRGr LkjW/2sU8WhfF1xStVfsas8WipmMcQ8DK0DzHWwK5u4PTw/RvGo4o3PBYOEGbYNLIhB/5Y 1K9ejUaTD+geG1TVGHWMHSJugODR4EN6lQUs0aUErsSbKT8+rmfwuP+x8/QIXrBLgXx7e7 ucwgFL264Qs7v3vFetE95bSl3CHrCehRsFskzCiIgJO9iYoxF4mBqiUDqbJROwmVeZ9za3 NHlNn9ms/bJiRSDYY4D5XFgB2zxpwl4cLOzNPJDS6lhdEt1R6PMSxPIGfLX62w== 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 4ShmDx33m9zpgX for ; Fri, 1 Dec 2023 21:20:33 +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 3B1LKXin028706 for ; Fri, 1 Dec 2023 21:20:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B1LKXXi028705 for rc@FreeBSD.org; Fri, 1 Dec 2023 21:20:33 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: rc@FreeBSD.org Subject: [Bug 274977] [rc] [patch] /etc/rc.initdiskless: /rescue/tar: not found Date: Fri, 01 Dec 2023 21:20:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274977 --- Comment #9 from Cheng Cui --- (In reply to Warner Losh from comment #8) > It breaks / and /usr being on different partitions. Please let me know if these are the partitions in default. Because as an average user who simply follows the bandbook and finds installation images = from a well-known place like https://www.freebsd.org/where/, does not and shall = not care about advanced details about where the "/rescue" is. > Why don't you have /rescue? After I re-installed my box again with FreeBSD 14.0-RELEASE through pxeboot= and by using the content from the FreeBSD-14.0-RELEASE-amd64-disc1.iso, I found there shall be clarification that the execute of "rc.initdiskless" is part = of the booting process, not a start of the installation process. So I encounte= red the "/rescue/tar: not found" again, but with the change I could finish the = boot and then start the installation. Once the installation finished, I found the files in "/rescue". This means although there are no files in "/rescue" from the ISO, they will be generated during the installation. Then, the system h= as the "/rescue". So far, the only place that the keyword "rescue" shows up in "rc.initdiskle= ss" is where the "/rescue/tar" shall be replaced with "/usr/bin/tar" in the proposed patch. Given "rc.initdiskless" is used during the pxeboot, and fil= es in "/rescue" are not ready yet and will be ready after the installation, I think the change is not bad. Also please let me know if the revert of commit https://cgit.freebsd.org/src/commit/?id=3D6e352319b6ff97a20b53d13a6df76b71d= d12afc9 is a better solution, although I don't think so. --=20 You are receiving this mail because: You are the assignee for the bug.=