From unknown Sat Aug 09 15:54:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63717 <63717@debbugs.gnu.org> To: bug#63717 <63717@debbugs.gnu.org> Subject: Status: [Shepherd] Replaced services remain active in the shadows Reply-To: bug#63717 <63717@debbugs.gnu.org> Date: Sat, 09 Aug 2025 22:54:15 +0000 retitle 63717 [Shepherd] Replaced services remain active in the shadows reassign 63717 guix submitter 63717 Ludovic Court=C3=A8s severity 63717 important thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 25 08:59:34 2023 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=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: [Shepherd] Replaced services remain active in the shadows X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 6 Prairial an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu May 25 09:07:58 2023 Received: (at control) by debbugs.gnu.org; 25 May 2023 13:07:58 +0000 Received: from localhost ([127.0.0.1]:46243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2AhC-0005pr-2f for submit@debbugs.gnu.org; Thu, 25 May 2023 09:07:58 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Ah9-0005pc-Pe for control@debbugs.gnu.org; Thu, 25 May 2023 09:07:56 -0400 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.00,191,1681164000"; d="scan'208";a="56994659" 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 15:07:50 +0200 Date: Thu, 25 May 2023 15:07:48 +0200 Message-Id: <87fs7keezf.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #63717 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) severity 63717 important quit From debbugs-submit-bounces@debbugs.gnu.org Thu May 25 11:02:11 2023 Received: (at 63717) by debbugs.gnu.org; 25 May 2023 15:02:11 +0000 Received: from localhost ([127.0.0.1]:47816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2CTj-000608-7V for submit@debbugs.gnu.org; Thu, 25 May 2023 11:02:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2CTg-0005zu-E8 for 63717@debbugs.gnu.org; Thu, 25 May 2023 11:02:09 -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 1q2CTa-0002OS-Ub for 63717@debbugs.gnu.org; Thu, 25 May 2023 11:02:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cnqYEDqNRIDAMVvJRLY6S0eQ6sPFZpJjGBiC9/ColFs=; b=jKEbiB3Ivw1txZaSLEUF 4msFqGX8J/doUtAb/wxDjtCfnuwKDKJF2fjLLlmB6nN9NkyVcIMJW0CtpgajVo0StFFGCqDlmtMfB iTjlKdYNjmNOuNYoLqnRCgDE7tfAO7X9tftec265EYuLwqHxBkgc8PWXgfA0t88FDo0QuHyoqN2yP K0efLcaNMTGemS7b+toMFuB3RK+bCUSwE46Qy6CitCrsMmzQk/eD8/PTAM5LApsokx6n6yIaVaKQw UeoUFBu5lO6qiFxjzi7Vs4K7a8d5hi0pR2EZdVUUeJ4A6RbOaOvgQwDHpbD4e6ryHZmIAIAhfgV/H uGzFGpMSU06ukw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2CTM-0000fr-9d for 63717@debbugs.gnu.org; Thu, 25 May 2023 11:02:02 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 63717@debbugs.gnu.org Subject: Re: bug#63717: [Shepherd] Replaced services remain active in the shadows References: <87h6s0efdh.fsf@inria.fr> Date: Thu, 25 May 2023 17:01:47 +0200 In-Reply-To: <87h6s0efdh.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Thu, 25 May 2023 14:59:22 +0200") Message-ID: <87o7m8cv50.fsf@gnu.org> 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 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63717 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > 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 n= ame in the > registry, find the new service, and rightfully show that it=E2=80=99s sto= pped. > But the old service still exists: it=E2=80=99s no longer in the registry,= but it > handles SIGCHLD, incoming connections on port 22, etc. Fixed in Shepherd commit 63af9d7c4460b55953bfa199ea44ac0114289b64. We=E2=80=99ll have to make a new release soon. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 29 18:20:31 2023 Received: (at 63717-done) by debbugs.gnu.org; 29 May 2023 22:20:31 +0000 Received: from localhost ([127.0.0.1]:59406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3lE6-0002Ip-QU for submit@debbugs.gnu.org; Mon, 29 May 2023 18:20:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3lE4-0002IY-P1 for 63717-done@debbugs.gnu.org; Mon, 29 May 2023 18:20:29 -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 1q3lDx-0007yO-Bl for 63717-done@debbugs.gnu.org; Mon, 29 May 2023 18:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=rNb9ViMdnR0xqrvHcpc7BnDLgi3zOv5YK9yeJ3fyaks=; b=Xojwe22UGjJu4Rqeu7qV rlaWVnHQ6IOOl2AnuoGxFOFfe9L58AX5oufgwDr+mHQMxgYBryYhfDfIvQFZ6JwYtWl5f20GPnskV O2pdhVGdgY5OQOrh+NkziNjsJEE5c6x2HtFOkr2dvXhXmFtr4SMot781sx+fA9ZK7JSiSy5LXtlx+ p2if2uJ7HLR3om22PtzBRaZk+JNPFCS/nntUz2A/s4R2dn0E2ILnNlSpojCOrGHnXepV+k8T3m8sb +soTr1ALRHNrezDHJMrl4pYEiWywxVcXt/E2R3GHT90q2JOirelFAqtSMvbRAavoH5aoT5s7w08gK cQueL9eEqFMSig==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3lDs-0006mM-Mx for 63717-done@debbugs.gnu.org; Mon, 29 May 2023 18:20:20 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 63717-done@debbugs.gnu.org Subject: Re: bug#63717: [Shepherd] Replaced services remain active in the shadows References: <87h6s0efdh.fsf@inria.fr> <87o7m8cv50.fsf@gnu.org> Date: Tue, 30 May 2023 00:20:14 +0200 In-Reply-To: <87o7m8cv50.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 25 May 2023 17:01:47 +0200") Message-ID: <878rd6eq5d.fsf@gnu.org> 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 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63717-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> 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 = name in the >> registry, find the new service, and rightfully show that it=E2=80=99s st= opped. >> But the old service still exists: it=E2=80=99s no longer in the registry= , but it >> handles SIGCHLD, incoming connections on port 22, etc. > > Fixed in Shepherd commit 63af9d7c4460b55953bfa199ea44ac0114289b64. > > We=E2=80=99ll have to make a new release soon. Released 0.10.1, and updated the package in commit b8f89ab2c9d0c459ce158ee16a4f4a6542b88ce0. Ludo=E2=80=99. From unknown Sat Aug 09 15:54:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Jun 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator