aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorRichard Sent <richard@freakingpenguin.com>2024-03-14 15:40:11 -0400
committerLudovic Courtès <ludo@gnu.org>2024-03-21 17:43:16 +0100
commitd282a31f52362b760b6f5021660494e8554bfbde (patch)
treee7f9b26e1ebd48036b981c8bf67ded33a781106f /guix
parentc8c5d12e4547c40d053d53eb50f6e6eb28ad1642 (diff)
downloadguix-d282a31f52362b760b6f5021660494e8554bfbde.tar
guix-d282a31f52362b760b6f5021660494e8554bfbde.tar.gz
reconfigure: Skip starting new shepherd services with auto-start? #f
Fixes <https://bugs.gnu.org/68093>. * guix/scripts/system/reconfigure.scm (upgrade-shepherd-services): Only add new shepherd services with auto-start? #t to to-start list. Change-Id: I268b921336fb1195ed76746eb6178889dbc258b4 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/system/reconfigure.scm3
1 files changed, 2 insertions, 1 deletions
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 @@ services as defined by 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")))