From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ENDHKq84R2YZVAEAe85BDQ:P1 (envelope-from ) for ; Fri, 17 May 2024 12:59:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ENDHKq84R2YZVAEAe85BDQ (envelope-from ) for ; Fri, 17 May 2024 12:59:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=HzB+ryFA; dmarc=pass (policy=none) header.from=lendvai.name; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715943599; 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=sm+ZKPLdennJ9oDHgMdrw/I+HE1+egLCqbJKvtpicAQ=; b=BHJGH0aZOuujXR0ZF6C0+Lvdf8928l55GzoLq/vZakUQo36xZsVJO2ulCn5og0Up6zZ2q6 fRJXjaFytSFFTSyxGhece9vuM251r0D5i84mg0SzSSGkeg2p7DHVfqxfIgR03XanArRnHH Wz0JA9sVYQBAeoirwu97JFo/vE5kxQ8vVzy4EEBDuQ9rkdceW7PiGtksXtjoYRJ5qwVDZv CqnTNUujy3IMR7k+G6XHTliCUhkTNBCmhZEUM6cFnuMiK3C6ZrkJaqU2nKgnR0hdY/WD/W xfCmZUb0fSPuCTIMjaExSTMSFzri5AFy4c1tM8JMdnzXZuNTci+QkCqBMnXBAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715943599; a=rsa-sha256; cv=none; b=psaQCZoOwXvULDF5Y9JQ1FFM94XUd4ESWdK3CXq5k4XciqLYR1V5i8XKhXYVZxJzK3EMaL MS9Dj2SuEBy0f3dDn2JwXJt7EIQwDUgnQcUcJNKDo+cCw4idZ+LYPIV1WsMS/PI1K5ygA7 N9x69vMYD7bZVU+9q8YDeqOgI5Hy8flyht/wTKmo2FxvBl1f4wG0rn8LmUJsH7QVkOt02x bv79MwFxKKoYhjx0VilNELgnTHhZBO4Zd3rohXSU3avi3HctFztD0zrFs4sMRn1tub6dyn sArQ+o7RbcNvNQTlN0hTm+y5PyMwY1aZORnnXPZXj3n/qZU1YjoaamHe1CuuHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=HzB+ryFA; dmarc=pass (policy=none) header.from=lendvai.name; 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" 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 0540A3C63A for ; Fri, 17 May 2024 12:59:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7vJF-0001tZ-FQ; Fri, 17 May 2024 06:59:33 -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 1s7vJC-0001mg-E1 for guix-devel@gnu.org; Fri, 17 May 2024 06:59:30 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7vJ8-0003L7-Ov for guix-devel@gnu.org; Fri, 17 May 2024 06:59:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1715943561; x=1716202761; bh=sm+ZKPLdennJ9oDHgMdrw/I+HE1+egLCqbJKvtpicAQ=; 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=HzB+ryFA+PMq9/INtFNFsjwaOpF/J3T19tlEXd27YjhGTg6Vs0TC3APSoFKnV4ket 6HsPBIgQILlYXAFoSmZUS7KSVFsSwpS/uhfXnkDun/BBrXB3KLOKbSJDrYYGqEQ+Gy dO1hJ2E+M4JR5RjQR2/0KFGhErmFMfixrePcvUbXX8Fh++MX0GL8zDprYJByBvI0MQ 1t5oy8MucARnHJ/Uc3LV0SUY7/81S4KixahcL69dbhrLNxNliuZ4Azqem5EvFL6vQt 9JR5V5/1Ta+MzxTFmDes5B2jR9HnNeJxudHtznpaVhtzm+PzVkimHxkw4D9B2m+tsy IG1q/m9bjXCtw== Date: Fri, 17 May 2024 10:59:17 +0000 To: Felix Lechner From: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: Upgrading Shepherd services Message-ID: In-Reply-To: <87le49uymn.fsf@lease-up.com> References: <87le49uymn.fsf@lease-up.com> Feedback-ID: 28384833:user:proton X-Pm-Message-ID: c66cc6de65d40d025006e486eceae0233f4ee104 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.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 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 0540A3C63A X-Migadu-Scanner: mx11.migadu.com X-TUID: oW9o8m4375iA > I have a lot of custom Shepherd services. Every so often I make a > mistake that stalls the step in 'guix deploy' that upgrades Shepherd > services, but without any error messages. >=20 > Unfortunately, I can also no longer run 'herd status', which likewise > hangs, or 'reboot'. How may I debug such issues in my operating-system > declaration, please? Ludo, this is the kind of issue for which extensive logging is needed. i.e. there= 's no self-contained reproducer (or is there, Felix?), and it requires a li= ve environment to experience it. and i suspect that i may even have fixed this in one of the commits that cl= eans up shepherd's error handling. one of the issues i remember is that an = exception from the start (or stop?) GEXP of a service sometimes brought she= pherd into a non-responsive state (without any sign of it in its logs). Felix, i'm planning to rebase my branch on Ludo's devel branch. it's not trivial b= ecause Ludo continues hacking shepherd, but i'll hopefully do it in the nex= t few days. after that you may give it a try and see if you experience this= issue again, and if you do then you can have plenty of logs to give you a = clue why/how it happens. if you do have a reproducer, then i'd be interested in adding it as a test = in the shepherd codebase. https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CIt is humiliating to realize that when you drive yourself undergro= und, when you fake who you are, often you do so for people you do not even = like or respect.=E2=80=9D =09=E2=80=94 Nathaniel Branden (1930=E2=80=932014)