From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WI05HZltfWcYUAEAqHPOHw:P1 (envelope-from ) for ; Tue, 07 Jan 2025 18:08:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WI05HZltfWcYUAEAqHPOHw (envelope-from ) for ; Tue, 07 Jan 2025 19:08:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=o7zutp4V; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736273304; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=i9nf34XagZ1iO9QrCdmPAouF+FGCGp8pZbTjie6xkR4=; b=mYwabmOjJESQGi7Z9sHLN9jeMks5AcS8CRPdGkhfoL+ufcl6/LvxE5vHvlogFSzCoOy5kD WmaZX1zwZnLRMOIF2Kd0FWF5kfhxgx9rG/h2GjgYoSWJLPXLp0mByNY6Fxeqx/XZ6HT0Ch jleLekiTeTGVBHyi6NOURiRPloyK34o3o5Dn4XojazqC7tDW6TbUZ9Hzsxniv2xcV8Mtqy CVEs7fY8FMZN4/4OKO5mdCaPp11lSKUdOIoy7kSDzcwdWzmxtzNjqjD1KNzeRh58kc5LN0 hjCQFlgH635QMEfI+9qEk9iZW7+efDyGETY0WV4AKq5jSBiMwJ5UC8X/d9Axbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=o7zutp4V; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736273304; a=rsa-sha256; cv=none; b=Ft14jJhVZuwAeyabtnIxa387AZcnGbvArXuwTesZarR5eCDp3xc9ivBpaW9BGFMKOki1YZ ZjxzCZNqVj+bgdhQbYrXU+Ph+KBXeUKPMOuPOhMDpYPnLgLU0K7lMfDmEGq2vI6bquLhGC mP3Y8WYaXTAY4JuHoTODuzZvrHjZfCS8U0PYq6+79Boo7KkHmkxRE9Io0hG8fwry3guYZ2 0ZNA9qRfa/mOYCNrFIKxZhfZUOh6cMRJohbMnjcQi2Ybcrr0Hucg4CSeEV/9xu1hzR4FX4 YRpTE3McC3Q5N5yjmuq0TNljjt4PpQVHiknpBtnX02TCUXyrNEtm135OaU9jtA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6096B9ED94 for ; Tue, 07 Jan 2025 19:08:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVDjH-0000Lr-Ii; Tue, 07 Jan 2025 12:50:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVDjG-0000Le-3Z for guix-devel@gnu.org; Tue, 07 Jan 2025 12:50:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVDjF-0004kq-S0 for guix-devel@gnu.org; Tue, 07 Jan 2025 12:50:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=i9nf34XagZ1iO9QrCdmPAouF+FGCGp8pZbTjie6xkR4=; b=o7zutp4Vu+GtDbxW6tlx f7vQpwwoH7DuwBXFq+/XelH2WuCbVdIBbRz+wPG903nALkihO7rQ6a8Ae+QAe7xur+C0/E5ciSCjW gALI3j51nDT/HcML8z8yAUevveJDO/H2lsWnsJricFWZbwK7MW/UrAAiDTSuh1JDU8iVm1BQsS+EM Ic8HFP7+LkoAqMCX2ajiUfpf0mGKO3oJ2V8nRl7Cn9uY0YFuYn1iRJPWJw8B7RBDjvCKZkAMzv5u/ ItQ2M3wHZ/PF0Lq+G1kLAnUNlmNjZKtT+8DBuYYcm28crauedFbToFdqehV/49bvU2JIkYebec8Oh OxpdXl95nvk+ew==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: guix-devel@gnu.org Subject: Re: 03/11: reconfigure: Support loading the system for kexec reboot. In-Reply-To: <87a5c5ylj9.fsf@wolfsden.cz> (Tomas Volf's message of "Sun, 05 Jan 2025 22:54:02 +0100") References: <173542420171.3052447.14254740746301984406@vcs3.savannah.gnu.org> <20241228221642.E5EB9D3CB98@vcs3.savannah.gnu.org> <87jzbi3f7f.fsf@wolfsden.cz> <87y0zqqyrr.fsf@gnu.org> <87a5c5ylj9.fsf@wolfsden.cz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 =?utf-8?Q?Niv=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Pierre =?utf-8?Q?=C3=A0?= chaux X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 Jan 2025 18:50:54 +0100 Message-ID: <87r05ezf5t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.43 X-Spam-Score: -8.43 X-Migadu-Queue-Id: 6096B9ED94 X-Migadu-Scanner: mx10.migadu.com X-TUID: U503d35QPVKc Hello, Tomas Volf <~@wolfsden.cz> skribis: >> Good point! kexec_file_load(2) can only be given one initrd, so I >> suppose it cannot support extra initrds. >> >> That=E2=80=99s something we should at least document and probably protect >> against. > > Based on the kexec_file_load's man page it looks like it takes a file > descriptor. Is there a technical reason why we cannot just construct > the unified initrd in memory by overlaying the extra-initrd over the > initrd (which is what GRUB does anyway) and feed the result to the > kernel via a pipe? Woow. Everything=E2=80=99s possible, but it sounds non-trivial (possibly m= ore code than kexec support in its current form!). In the meantime, we should at least document the limitation and/or skip the feature entirely when =E2=80=98extra-initrd=E2=80=99 is specified. Ludo=E2=80=99.