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 ms8.migadu.com with LMTPS id OK53Gkqm4WU4hQAAe85BDQ:P1 (envelope-from ) for ; Fri, 01 Mar 2024 10:56:26 +0100 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 OK53Gkqm4WU4hQAAe85BDQ (envelope-from ) for ; Fri, 01 Mar 2024 10:56:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=lendvai.name header.s=protonmail header.b=Z7U2KmDV; 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=temperror reason="query timed out" header.from=lendvai.name (policy=temperror) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709286981; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+RWt6cMD2qXkQ5ON3f/5rxtFeyaIhY6ISvlxtOadwRc=; b=sK+QsFrd46jT1Ffsou4GU83t1oWZFwD5qOv9vLQTVtjRjNOhmiE9iLp0D/mxk1ORNrD2Mq ZqeSpPP5vw5E9U+Oxmi47601G9tlfAbocDyl7tLw9IDPQoZfbBMIQr+epduJ6NEYhMW73L FTB6o+haBpZrPYsA+YZFpGNi4Bqmn6nvkFZ7VAHAYTuW/3BPoZaDa2sur6/T9Kl2ljLqAw TU12WF1pE8GCl2p4WaQev08iI0luNoogPFWQMVaAX0xF3VoR5mJVR4GVpgTbKW9rnQb74t ZJo6UKmCB1HaU5YsWmYxYr6zLmAbasJXC8+ogSg24cN5F1xyeNzDUI74hDU69A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=lendvai.name header.s=protonmail header.b=Z7U2KmDV; 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=temperror reason="query timed out" header.from=lendvai.name (policy=temperror) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709286981; a=rsa-sha256; cv=none; b=qdnH2NgdTRMn9x9jFA34MWvhFBUc0lKD/lNH+5B9iCDKkvXcdgqEqWu1z1ZaE4UZLFUm68 29BCuv+YHfJrLz/mpzOSwI3/F1v5tfXVrAOn193SJghIMGHzZiOXxVaEbcwIlyWiMEy8Ku 3MxFfXumsyA+0BoV2o1vocEI6sOfYGJwhktwhcfoUYxoHv2xlZ5Mx64MCfBwLakV6ihyoa TEY4IwBvTWIEOb1T+lNEenim8/egOPewkw9n0HsAAvPVRLJwevJEcvGii/BgBU8+T0VX+H SG5BS+x377RhmXtsZV7kFV0YQkoFI5lwpXjoRyHItb60kOk5HnkKXuZeY1S4zQ== 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 57EEA371ED for ; Fri, 1 Mar 2024 10:56:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfzc8-0003oD-W7; Fri, 01 Mar 2024 04:55:37 -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 1rfzc7-0003nR-St for guix-devel@gnu.org; Fri, 01 Mar 2024 04:55:35 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfzc4-0000c9-2X for guix-devel@gnu.org; Fri, 01 Mar 2024 04:55:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1709286927; x=1709546127; bh=+RWt6cMD2qXkQ5ON3f/5rxtFeyaIhY6ISvlxtOadwRc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Z7U2KmDVDGPe3qtAMPWCockbMOnEMad/O4x76onbdEA9mZBKnSWoXVFJbnVJ5J6uu oNW7fUMSsksq5F/CWp/PItIFK0+uXFj91DlTv9zC3ka5i6MCM/xM2Y9xiVmBiSZ/YX TXHm0FM0ytMsjhEDC9H+M9booH9I4OMl4iSxnKzLLplS492nM8UOqZlXieN++fqXWC XiEGw8l7l0DIk5+kfbyzLg9oPOn0XWXw9HUW0pIwArRhLqwwpXyTsVIGVOIbDCi+5G BahszsXDZpZMbMKA5U//v8HQRjpnr0Z7guNDr53tEdUVc7C8Aay//9VOmIYuatHeZG xBvU4Oyb7IKXw== Date: Fri, 01 Mar 2024 09:54:29 +0000 To: Felix Lechner From: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: A basic Shepherd bug? Message-ID: In-Reply-To: <87v8681h2p.fsf@lease-up.com> References: <87cyuypdy8.fsf@lease-up.com> <4bmtHRTpunYhFTJuh15hWVnJ-9GedW9YD7_xDkwqR-7A2T7q7Q5S_ybfTe1qyagEnw0yX6h1sqJzDpdrCho5xM7OQfU6zg-xm9uWCgqgTjw=@lendvai.name> <87zfxz4jn9.fsf@lease-up.com> <-x7OZZ8cEEw9UwK8zD-1JBlqJhO1Qe8VAJBr-BbJzFvL83659WEV5icFTyvQBaRgByiY_LoiAoqcOkawOi0f3Mca97XFK2l0i8YbwectmSY=@lendvai.name> <87v8681h2p.fsf@lease-up.com> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.72 X-Spam-Score: -2.72 X-Migadu-Queue-Id: 57EEA371ED X-TUID: cv3GXG6/9ipf hi Felix, > > you should follow the instructions in [1]; namely: > >=20 > > https://lists.gnu.org/archive/html/guix-devel/2023-12/msg00018.html > >=20 > > together with "Installing development snapshots with Guix" in > > shepherd's README to add shepherd's channel. >=20 >=20 > I did so on a production system which I do not reboot often. Two days > ago, I reconfigured and saw a new Shepherd version being deployed. It > used up a lot of CPU cycles until I rebooted. just to clarify: you `guix system reconfigure` into a new shepherd version,= and after that the currently running shepherd init process went 100% CPU, = i.e. it was busy looping in one thread? > It makes sense that upgrading the Shepherd requires a reboot, but maybe > a warning somewhere would be appropriate, if possible. Maybe an email to > root? unfortunately a lot of the infrastructure around guix is lacking explicit f= ormal description of dependencies/requirements. e.g. there's nothing (that = i know of) in the shepherd config files (which are generated by `guix syste= m reconfigure`) about what shepherd version they require/assume. a quick and dirty solution here could be to manually emit an assert into th= e config file that there's an exact match between the shepherd that generat= ed the config file, and the shepherd process trying to load it. a warning c= ould be issued that the shepherd process is unable to load/process the gene= rated config file until a reboot... which would probably be overkill in mos= t cases. https://ngnghm.github.io/ this^ blog has interesting thoughts on migration and staged computation. it= 's a most interesting vision of how these abstractions could be formally ca= ptured, and what the resulting computing system would look like. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CLove and do what you will.=E2=80=9D =09=E2=80=94 Augustine of Hippo (354=E2=80=93430), 'A sermon on love'