From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sBwOL7NufWeMcQAAe85BDQ:P1 (envelope-from ) for ; Tue, 07 Jan 2025 18:13:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sBwOL7NufWeMcQAAe85BDQ (envelope-from ) for ; Tue, 07 Jan 2025 19:13:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Wgpaz0a3; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aTdVemoK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1736273587; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rAhJn8iI1HYpFAN1amiwSnRbzY+1aH/fTKVwHBFXv7w=; b=WvN+Ms/tPzJL0VJGfjZzc9ZuTifYGqC7nm7r/EQdvSBvrzocfFDY7ZVWhwHiKtoUkycFbM W02eFXJHa8WQfvARPYTTL1eywW6MRrTOVve0M04zUMM3zMJDbngyeej4OkB5mMmWJpTIdF 2ybHqDCwoLFei3SioM7HFCIOS25mRC2kmavU2qegOJtTJuqvm/8PUPI9bpTS7aAIeXasN+ k0oVNOBNHUkkh5M5tAKqcRve7zMDnl3ieQD/sdmxFprtU+h18P71lD/xrGQwToK6r2V/Px ewGNqpFptoTImh9Fs7NY7wQNGE82fY2BPCMr/q8ldT/CjOEOb8avzBt2XV6xoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Wgpaz0a3; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aTdVemoK; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736273587; a=rsa-sha256; cv=none; b=snjAVI7ljgn9yeGbo1BWqVo1UyIKwWyDT8GqQ0Zt1+q8egHGWfMAzFuIbyAfuM0dKjezqm 5wgN1PNnTsiISNdmsTw1FvtB2gUv8i3waRuWfb/d6Ikny0Uu9tOeHntZ40v1xhyTmDu0hq saSruc4I4/DuDzlzLbY3npXCV3LlN8bEJa1fKYEw8+RWYP11PJ3A7p+hkQUnzmFs4VjWFN DQmU0oM9CzoVQKw6tsJrkKtD6PJU5rPGUSdM+aEV5g2YxKpttZ9bbc0Y4H+HkhIdG6Oj1f prXAvFlkw6lmUb3gRPz53Lx7DK3e9H4hBGkOdlhglNULl37Kk7v3M+pDX8B2+A== 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 5CF9231D5E for ; Tue, 07 Jan 2025 19:13:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVE4e-0006n8-F9; Tue, 07 Jan 2025 13:13:04 -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 1tVE4d-0006mx-4x for guix-patches@gnu.org; Tue, 07 Jan 2025 13:13:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVE4c-0007nr-Jk for guix-patches@gnu.org; Tue, 07 Jan 2025 13:13:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=rAhJn8iI1HYpFAN1amiwSnRbzY+1aH/fTKVwHBFXv7w=; b=Wgpaz0a3+xp2t1vLkYQ4R8X460N2EKJMe90TkiwAsrvkI7Wrxw3JNOXNg35J0yjkiiQftW+q4K6w+WpU6255ygc+98zZXWiXXBf8n2e18QvqNSlNrJVwRRdcd7fAOTGmrYNTqxVGU3RfehiwCtBYg4q/3LQBDnQPxa3mh2ftfVaQ00eMfBCMjgVpttKzp1hktzwn2Dcqn1zoYqzz0rx4dJjsZJWAE3LFhBIOZcDH6Z7EHvbhryEoaSNxnOh2bRs9mPT3u80EX8Sk9rpiBDBYzcGK0doHlCMB/gZhGScQD1I4jrRMd+L0FIHEGOV5ePwQU2lpeeUKJuqA7uLKrW6sHA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVE4c-0005QR-Cp for guix-patches@gnu.org; Tue, 07 Jan 2025 13:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75402] [PATCH 0/3] Assorted kexec fixes Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75402 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Josselin Poiret , Simon Tournier , 75402@debbugs.gnu.org, Tobias Geerinckx-Rice , Mathieu Othacehe , Christopher Baines Received: via spool by 75402-submit@debbugs.gnu.org id=B75402.173627357820842 (code B ref 75402); Tue, 07 Jan 2025 18:13:02 +0000 Received: (at 75402) by debbugs.gnu.org; 7 Jan 2025 18:12:58 +0000 Received: from localhost ([127.0.0.1]:44573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVE4Y-0005Q6-0s for submit@debbugs.gnu.org; Tue, 07 Jan 2025 13:12:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37086) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVE4V-0005Pk-Aj for 75402@debbugs.gnu.org; Tue, 07 Jan 2025 13:12:55 -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 1tVE4P-0007mt-2G; Tue, 07 Jan 2025 13:12:49 -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=rAhJn8iI1HYpFAN1amiwSnRbzY+1aH/fTKVwHBFXv7w=; b=aTdVemoK75Ul8FGyYbtO W49DTeapQaqDRiD6IoRxuw8L1XXGareS3NqVUvX0LShtax1Vqgxo/1dCZsEJdAYFj60a1PA03yzb1 Fm033L+PgldorDpgpAxd7yk+cqGutQxYzu2QqGoBjazOD5a9pOojzSnqRUv+YZg60cJxd0gVks3GV Xag4QO/rpnejHuhg/7lkrE0jVXqrQFB6bZbnxaTtP/lV2k4WAt0N30oUKBneRXSNw6dRn4JwEfJfL ecDqmrMCbar0zKeMNjMIVNF6lNk4fczTrsCF51QnNwZtrETvUBDl6tpZH4CNWCVocZFb7YkAgWcd3 jXdkHe3ooaQe6g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <874j2auc05.fsf@wolfsden.cz> (Tomas Volf's message of "Tue, 07 Jan 2025 11:58:02 +0100") References: <87cygyucrc.fsf@wolfsden.cz> <87r05e293h.fsf@gnu.org> <874j2auc05.fsf@wolfsden.cz> Date: Tue, 07 Jan 2025 19:12:43 +0100 Message-ID: <87v7uqxzl0.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.88 X-Spam-Score: -2.88 X-Migadu-Queue-Id: 5CF9231D5E X-TUID: RhTolJMUPc6k Hi, Tomas Volf <~@wolfsden.cz> skribis: >>> One feature request though. I think it would be nice to get >>> --no-kexec for guix-deploy as well :) >> >> Good point. I=E2=80=99m not sure where to put it though. In >> ? > > I am asking for a command line argument. Not sure if that does answer > the question. I am not familiar enough with this part to suggest how to > wire the option through the program flow. The reason I was suggesting this is that authorize?, allow-downgrades?, safety-checks? are already part of . These cannot really be a command-line option=E2=80=A6 for reasons that escape me = right now. :-) But anyway, I thought we=E2=80=99d be in the same situation here. > On a separate note, if we would want to disable the kexec in the > definition, I feel like operating-system would be the most fitting > place. Reason being that either I want to kexec the specific system or > I do not want to kexec it. But I would expect that to rarely correlate > with the deployment method. Sometimes I reconfigure the system via > guix-deploy, sometimes (when I break the networking) via > guix-system-reconfigure from USB drive, and it would seem to make sense > to have kexec behave the same way for both of the approaches. Hmm I see. The way I saw it, kexec loading is a bonus that doesn=E2=80=99t= cost much, which is why it=E2=80=99s opt-out. It didn=E2=80=99t occur to me tha= t one would really want to control that to the level you describe. Ludo=E2=80=99.