From nobody Sat Dec 09 15:15:10 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 4SnWlg1g61z548JQ for ; Sat, 9 Dec 2023 15:15:11 +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 4SnWlg0Xbdz3Yx8 for ; Sat, 9 Dec 2023 15:15:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702134911; a=rsa-sha256; cv=none; b=sWBlWHs5uNTwwvYlgstteZ84eDLUZI6Qyd9SSKejT+eXBKddUNs95/SM8F4uhOY0q69NNd 5dalK36xthsglOBndZpP3E9qmaZkhWko6c1spnuFMp/NxxkQthL1RbqPik78bybOhjW/yV 5K9uaZM14qKplmjK2R9+PwJiLaqJytdNn0MXCrldwFX+CSBpjCxc1uEA5/eIns5YtVkXNn sH0hSTeRq6FxHFWgfFtuZ9Mi8NOUo4dPO6/NlaUU/0myJQxNvkPE/lNhRtOsXPmU25bUvp lkXJSkG+cAxBtIXgJnS+vs/5Qvfds3iNMaErQ0xWN9xsHTe/eF6mb5d9ROndjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702134911; 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=BBjRJmENH3bO9lUPeANjoDAim4qAH9mcIvhgNKmIygQ=; b=V86HHdapbaR5kDeaXk9to55IaRJETM/97ZsK7KlHOrYUv/Cct24XdB9WagvbGX0nY71tnj yVTOZCCHAwbW6yZ1GjEVDbTYPEsvRzPN/k1CbnVTKD+sXgigZKjiTwEeYYFrCPJy922Ndt l3cth2C5z+DJO0gTqHjuV/bQuOzWb7kaM7NAtAmxl+j1GdDR4GVyPkLw5l7jSaIWgIqefI kxsQx6m0Brk83LXla5Jp6yIIfj617J0e9osPbmPA9rp5DrIHLM/tNByHt2VE9W9AsSu2TY 2F73vsor3gTQH2QgiZebm3WKu22yNTKGM6Kv0eDrefpkXvluWpeO4hyuW0/gwA== 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 4SnWlf6jCnz18dH for ; Sat, 9 Dec 2023 15:15:10 +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 3B9FFAww074479 for ; Sat, 9 Dec 2023 15:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B9FFAWX074478 for rc@FreeBSD.org; Sat, 9 Dec 2023 15:15:10 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: Sat, 09 Dec 2023 15:15:10 +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 #12 from Cheng Cui --- (In reply to Rodney W. Grimes from comment #11) I feel the need to clarify the use-case here is different and not exactly t= he same as in the "network-diskless" in the handbook. The ISO is not used as a diskless boot image, but literally an installation image. use-cases: [1] pxeboot the target and load the whole system via NFS everytime <=3D han= dbook [2] pxeboot the target and bsdinstall to target disk via NFS once only, then use the system from target disk from now on <=3D this use-case I am not an expert for bsdinstall, so I am trying to illustrate as best as I can. "installation of FreeBSD13.2 via UEFI PXE on a mini PC" in this PR descript= ion is literally bsdinstall via NFS with pxeboot, which unfortunately executes = the "rc.initdiskless" during the pxeboot. If possible, the use-case here does n= ot need "rc.initdiskless" but just boot necessary kernel at first and then exe= cute bsdinstall and finish the installation of what's in the ISO. Just like use a USB or DVD media, the ISO is mounted via NFS.=20 With the proposed (not perfect) fix, the use-case is fulfilled. And this sa= me use-case had successfully been done before during 2009~2012 (when I worked = on FreeBSD7,8) with the same pxeboot setup. So this is not a new use-case. I feel this is still a good use-case. If this use-case is no longer support= ed, please let me know and I can drop this PR. But I will feel I can still keep= it as my private use-case. --=20 You are receiving this mail because: You are the assignee for the bug.=