From patchwork Thu Mar 14 19:40:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sent X-Patchwork-Id: 61802 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5A9FE27BBEB; Thu, 14 Mar 2024 19:42:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D627E27BBE9 for ; Thu, 14 Mar 2024 19:42:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkqyG-0006pK-Fi; Thu, 14 Mar 2024 15:42:32 -0400 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 1rkqyE-0006p9-VK for guix-patches@gnu.org; Thu, 14 Mar 2024 15:42:30 -0400 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 1rkqyD-0000e9-T4; Thu, 14 Mar 2024 15:42:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkqyj-00021j-Vq; Thu, 14 Mar 2024 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69801] [PATCH] reconfigure: Skip starting new shepherd services with auto-start? #f Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69801@debbugs.gnu.org Cc: Richard Sent , Christopher Baines , Josselin Poiret , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.17104453587760 (code B ref -1); Thu, 14 Mar 2024 19:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2024 19:42:38 +0000 Received: from localhost ([127.0.0.1]:50696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkqyL-000214-4R for submit@debbugs.gnu.org; Thu, 14 Mar 2024 15:42:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:36156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkqyF-00020t-SV for submit@debbugs.gnu.org; Thu, 14 Mar 2024 15:42:35 -0400 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 1rkqxf-0006mC-N5 for guix-patches@gnu.org; Thu, 14 Mar 2024 15:41:55 -0400 Received: from mail-108-mta51.mxroute.com ([136.175.108.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkqxd-0000ac-HT for guix-patches@gnu.org; Thu, 14 Mar 2024 15:41:55 -0400 Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta51.mxroute.com (ZoneMTA) with ESMTPSA id 18e3e7c31a40003bea.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Thu, 14 Mar 2024 19:41:50 +0000 X-Zone-Loop: 3d6434cdfa1e3aaed1d9bb0bfaa7d3f6c158f5bc6a4b X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9TDMGhY9Gxsxvp+KSRznyVsdxUwE2ooikhtZN1u7q9g=; b=FTpagOw9Uv1157Z1MdK3cxGYhw m0kgi05NgHSlZCB+TenoKGbJbZ38FknYcQaRJSmHS9mTNa0ScQoCtp807TmBXIbauffoPkLIbGVRK 4ORgOdws7G7Z3Chf+26S032Veyx+LRH2LL/hmDsZRs0Yc2udrwhL5JRSEy8ZeIUWjm4RorzzwpcMW X1NKehCAcT15foq1cQOte8TvA78cwszqfLkLZePXM6uhFnPGE/EYxh3ZPtPQLlqFSbZ3ZkHSfZpCX H/F9Hyuo2AXZN30tYCydu8LW/1vy7I4Gdo/c3Znhj8bIrF6HjQKpnzYsKoBGPMgRLgP31Z5KzE8/g Rau04T0Q==; From: Richard Sent Date: Thu, 14 Mar 2024 15:40:11 -0400 Message-ID: <7370708f69a563b3f1a264c97b83d4e0e1707461.1710445211.git.richard@freakingpenguin.com> MIME-Version: 1.0 X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.51; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta51.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Fixes . * guix/scripts/system/reconfigure.scm (upgrade-shepherd-services): Only add new shepherd services with auto-start? #t to to-start list. Change-Id: I268b921336fb1195ed76746eb6178889dbc258b4 --- guix/scripts/system/reconfigure.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) base-commit: 7319b4d5286d31a9c6a889e81af72308efdaab41 diff --git a/guix/scripts/system/reconfigure.scm b/guix/scripts/system/reconfigure.scm index ff6242ffb4..9418060158 100644 --- a/guix/scripts/system/reconfigure.scm +++ b/guix/scripts/system/reconfigure.scm @@ -194,7 +194,8 @@ (define* (upgrade-shepherd-services eval os) (filter live-service-running live-services))) (to-start (lset-difference eqv? (map shepherd-service-canonical-name - target-services) + (filter shepherd-service-auto-start? + target-services)) running)) (service-files (map shepherd-service-file target-services))) (eval #~(parameterize ((current-warning-port (%make-void-port "w")))