From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cAcCDuNbb2R6GgEASxT56A (envelope-from ) for ; Thu, 25 May 2023 15:00:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GO7XDeNbb2Q7TQEA9RJhRA (envelope-from ) for ; Thu, 25 May 2023 15:00:19 +0200 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 BB028390EC for ; Thu, 25 May 2023 15:00:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2AZa-0005XY-OO; Thu, 25 May 2023 09:00:06 -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 1q2AZY-0005XE-0L for bug-guix@gnu.org; Thu, 25 May 2023 09:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2AZW-0005Eo-KW for bug-guix@gnu.org; Thu, 25 May 2023 09:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2AZW-0005cZ-7Z for bug-guix@gnu.org; Thu, 25 May 2023 09:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63717: [Shepherd] Replaced services remain active in the shadows Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2023 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63717 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63717@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168501957521543 (code B ref -1); Thu, 25 May 2023 13:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2023 12:59:35 +0000 Received: from localhost ([127.0.0.1]:46226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2AZ4-0005bN-BZ for submit@debbugs.gnu.org; Thu, 25 May 2023 08:59:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:37068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2AZ2-0005bG-C3 for submit@debbugs.gnu.org; Thu, 25 May 2023 08:59: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 1q2AZ2-0005Ty-2Y for bug-guix@gnu.org; Thu, 25 May 2023 08:59:32 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2AYw-000595-Nm for bug-guix@gnu.org; Thu, 25 May 2023 08:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=PGg/QpxztxtxPmODbgjsANz3wy+3uhAatqPE//jpi/o=; b=KQovLeohe/dPtSdBLf9EHUok0F20YwZfbJtLz7MqDteTIY03F2SckL2W QgeiG31Kb0mK7L61qS6nFJPv6oTdrUQay2HqtWz/LWDK1gL1DTkAKoqUO oLL758FXPhP1gyv9GwdGin9qYN0APWQtX/PehYO9XK9KO+W0trOXVp0sd 0=; X-IronPort-AV: E=Sophos;i="6.00,191,1681164000"; d="scan'208";a="56993248" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 14:59:24 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 6 Prairial an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la =?UTF-8?Q?M=C3=A9lisse?= 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: Thu, 25 May 2023 14:59:22 +0200 Message-ID: <87h6s0efdh.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685019618; a=rsa-sha256; cv=none; b=GHbBsLvxaMEN5NVvPEnZFrOMKTeDmURpzj+68yCfopmoSXF9QFuFtR6ASNiLR+vpqHYYtO dzrRdNI/BmTOJEbPBL0bMlGi4e1QtOKORykc5V3lwwB0Uatw9dTNxqP/uT5cxczLmlTPoy cLsie0i8HgVgClGf7vW/dhRnPqlTWHwcrJAavlY+Va6OcL1k8HGIoA5WPKKXmIN74y2Hrv Jn+BeptwKZU6Iu0kln4m4Vqb6qX8iPWZdpOfowqvBIJe0fgMHKR1+rtMsvaPiyaEMSdhT0 S2LhYS6NyKZZZM6ktLBQnevQaJ8P6Vnc3NOM42uJvRNPMM7S+lPW9r9wK0AJsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=KQovLeoh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685019618; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PGg/QpxztxtxPmODbgjsANz3wy+3uhAatqPE//jpi/o=; b=G4bDpHRi9GiBW9puJdi4Dpy2KyqDE22GBqIp8GzUgxk/90Sz4Lr0C724VGMuHiThVQfrXt jatqJXg/B6C514jr4OzuFSVIFUdHMTEpcuXXLWX+YhReTVhc9QOIv/1G25Yi0AmTd/WJdz wynbQyhCY4Lp6wLpfcm7c8lVSmRaDs2Of0MhTtVzaBteipIqXjFz+2ypLqd0S4N1G2bWQh cHWQjhwIB7DygM9k3lwup3IglvvTziXuoDF7fWdNEW7eES619nZDaMVqEFCm6pq9HGqm+D 4zvFiPwz1HXxIuuhJkue6LR2TdCi/tbqMjBTxgb5lWiOU5ahmwMis6BQ79fBYg== X-Migadu-Spam-Score: -0.71 X-Spam-Score: -0.71 X-Migadu-Queue-Id: BB028390EC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=KQovLeoh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: gMsKY0sLsZRt Hello! A bug we noticed with the Shepherd 0.10.0 on berlin: after reconfiguring, which registers a =E2=80=9Creplacement=E2=80=9D for services= currently running, restarting said services (with =E2=80=98herd restart=E2=80=99 or s= imilar, which is supposed to instate the replacement) happens to leave the old service behind. Example: =E2=80=98ssh-daemon=E2=80=99 is marked as stopped because it canno= t bind to port 22; indeed, there=E2=80=99s still a service listening on port 22, the = one service that should have been replaced. Likewise for =E2=80=98cuirass-web=E2=80=99 for instance: it=E2=80=99s marke= d as failing to start, but in fact it=E2=80=99s running; if you try to kill the =E2=80=98cu= irass web=E2=80=99 process, you can see it=E2=80=99s respawned and /var/log/messages shows that very clearly. What seems to happen is that, in both cases, the registry points to the new service; =E2=80=98herd status=E2=80=99 & co. look up the service by nam= e in the registry, find the new service, and rightfully show that it=E2=80=99s stopp= ed. But the old service still exists: it=E2=80=99s no longer in the registry, b= ut it handles SIGCHLD, incoming connections on port 22, etc. Ludo=E2=80=99.