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 8HFgC9lWGWd9KwAAe85BDQ:P1 (envelope-from ) for ; Wed, 23 Oct 2024 20:04:41 +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 8HFgC9lWGWd9KwAAe85BDQ (envelope-from ) for ; Wed, 23 Oct 2024 22:04:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NDz9peuV; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1729713881; a=rsa-sha256; cv=none; b=GRnbcagaNy6t26B3cUsVmu/DrYyGX8LyDp6RC3jllcEZuOAF+TNXwHKamE8CpmbpLryPkH PC2qShr5B5737PuONAm8chqSQwUDoPeFnxl0PxR4/v37lNxXV8DvgPBN/szyWTpioJEPOo Jlg4TAqZ9E6yx+HnowbnOi936GC0zXVb5PDQynFuV14nuXRTFcPl8WX1+vtC183b5jPKWU aIMhhg6Y6eNbYUMaZ/P9MYkyYcFbi/91ZyK5xFSZpNNVxBYLVzePfl/Wb2uiH4KMJWY6cF yyNfuV4PFPiglcZ6LlEsuw7aE6U7yk8/JQM6goIFp1/2Op9vSKJ0uuOfcNL+pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NDz9peuV; dmarc=pass (policy=none) header.from=gnu.org; 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=1729713881; 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=srJMAiVDIuGHCQLiVCBL/9nD/txc3sQlkfL9S/IrjiE=; b=fVLrnMSdL6D1qxRDIs78elIzi6aZMv5Gqy/F9nSAeEfbpP/mA9WczmlrzL9xCLAV3xxqSK ltNN/yS7ZOKM/ZNx+boF+HMMBZXy+6Z2IYZjuvXzszApojyX+0X3g0QnO29sc/J9kbNA8H H3B8vi9LV4yabry0uPz90z2dD6wzal5ZIvdkPBa0tE5SJdc+d01sDZoZwAeAAeNdOyhQU1 DpGfOZ5Xw/1XFdO4nXHKlfCbJaUZw/C/yGQUWS3UqnJR+Fr9lfaAnsQOZJEiBaPD6tRBsX Ka0tAQNVF2tPJgczxZFdg4QU7HM92w1SJ1oOSk1evBxMxkDfFq0+8pXVksgVUw== 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 CE20A87E38 for ; Wed, 23 Oct 2024 22:04:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3haC-0006sj-DJ; Wed, 23 Oct 2024 16:03:52 -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 1t3haA-0006sN-L5 for guix-devel@gnu.org; Wed, 23 Oct 2024 16:03:50 -0400 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 1t3haA-0004pm-5Q; Wed, 23 Oct 2024 16:03:50 -0400 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=srJMAiVDIuGHCQLiVCBL/9nD/txc3sQlkfL9S/IrjiE=; b=NDz9peuViw68TWOhEwAH RgqjXf0d5fo/kL6SziS4MduDlgI/0PlMelFXJdVZJbdaCxDAEZXwr4cCSqa1eUhSCuTb45gXqrX5a 4VY6rnfFXtjLvnzqM2GCO7sjcl5BTn9ru6mB4txdO+6D6f5fRK1mn9fUDdb/nPKWTAMe+g0+xzuy7 1w1tzvMgiTCHirdU4YPe8afgl+cdbaWkjFO/GsMBbxMuwXwOBs5aSMA/pvH8kYBE/okmdM3tw3VO2 Ob6WgCWFpxJJjZti3D/DFCewEj2CqZm9qvDXV/2VQihTX4r7YR3bjcGvPv4j3ispCro4XVHBrcr/U LdtnTgVK+F0XAg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Cc: guix-devel Subject: Re: shepherd: failing test: should `herd stop` stop a respawning process? In-Reply-To: (Attila Lendvai's message of "Sun, 06 Oct 2024 17:02:17 +0000") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 Brumaire an 233 de la =?utf-8?Q?R=C3=A9volut?= =?utf-8?Q?ion=2C?= jour du =?utf-8?Q?C=C3=A9leri?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 23 Oct 2024 22:03:37 +0200 Message-ID: <87bjza4mee.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: 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: -0.51 X-Spam-Score: -0.51 X-Migadu-Queue-Id: CE20A87E38 X-Migadu-Scanner: mx12.migadu.com X-TUID: 38bG7/BDaH6p Hi, Attila Lendvai skribis: > i have a daemon process that quits soon after it starts (when it has some= issue with its configurations). > > then i usually fix the config, and do a guix system reconfigure. but i ha= ve noticed from the logs that this process often remains in a resawn loop, = even if i herd stop and herd disable it after the reconfigure (i.e. a sheph= erd service upgrade). If it=E2=80=99s in a respawn loop, the problem is that =E2=80=98herd stop= =E2=80=99 may or may not happen at the right moment, because the service oscillates between the stopped/starting/running/stopping statuses. However, =E2=80=98herd disable=E2=80=99 should prevent it from being respaw= ned. (Respawning calls =E2=80=98start-service=E2=80=99, which cannot start a ser= vice marked as disabled.) But I don=E2=80=99t know, there could be a bug. Could you come up with a reduced test case (I looked at the one attached but I=E2=80=99m not sure wh= ich part to focus on), or do you have logs of the problem? Thanks, Ludo=E2=80=99.