From unknown Tue Aug 19 10:00:39 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#71478 <71478@debbugs.gnu.org> To: bug#71478 <71478@debbugs.gnu.org> Subject: Status: [shepherd] Unloading a service renders shepherd unresponsive Reply-To: bug#71478 <71478@debbugs.gnu.org> Date: Tue, 19 Aug 2025 17:00:39 +0000 retitle 71478 [shepherd] Unloading a service renders shepherd unresponsive reassign 71478 guix submitter 71478 Ludovic Court=C3=A8s severity 71478 important thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 10 12:40:27 2024 Received: (at submit) by debbugs.gnu.org; 10 Jun 2024 16:40:27 +0000 Received: from localhost ([127.0.0.1]:45620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGi4I-00058M-15 for submit@debbugs.gnu.org; Mon, 10 Jun 2024 12:40:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:42400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGhwi-0004k3-G0 for submit@debbugs.gnu.org; Mon, 10 Jun 2024 12:32:40 -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 1sGg3E-0000VQ-Sk for bug-guix@gnu.org; Mon, 10 Jun 2024 10:31:12 -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 1sGg3C-0007O3-4j for bug-guix@gnu.org; Mon, 10 Jun 2024 10:31:12 -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=HhTgiDtWEvnJr0hWWghzhxjjhCFfk8Bn9y83gPWkXO4=; b=fjCiO4DmWIQTHg4ShbvotIM+v7KSzZDByMmdwktLWCvsv9sI14IMkr8U mkgbIiZvr01u0fCY0TenokSazz6CMge9MwI/7pKedGUdwukkPkuTHKeH0 QFPaJO9ndUj0EIx//qSeAbctU1sUEhcbzjKadRxWd+3tNGu0ODrkAoE0v g=; 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.08,227,1712613600"; d="scan'208";a="89299734" Received: from unknown (HELO ribbon) ([193.50.110.149]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 16:31:06 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: [shepherd] Unloading a service renders shepherd unresponsive X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 23 Prairial an 232 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du =?utf-8?Q?Ch=C3=A8vrefeuille?= 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: Mon, 10 Jun 2024 16:31:04 +0200 Message-ID: <87jziwna3b.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) 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_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 (--) Seen with 0.10.4: --8<---------------cut here---------------start------------->8--- ludo@guix-hpc7 ~$ sudo herd status tor Statut de tor=C2=A0: It is running since sam. 01 juin 2024 15:58:57 (9 days ago). Valeur d=E2=80=99ex=C3=A9cution 453. Activ=C3=A9. Fournit (tor). Requiert (user-processes loopback syslogd). Sera relanc=C3=A9. ludo@guix-hpc7 ~$ sudo herd unload root tor Removing service 'tor'... Done. ludo@guix-hpc7 ~$ sudo herd status tor ^C ludo@guix-hpc7 ~$ sudo herd status ^C ludo@guix-hpc7 ~$ ps 453 PID TTY STAT TIME COMMAND ludo@guix-hpc7 ~$ cat /proc/1/cmdline |xargs -0 /gnu/store/bhynhk0c6ssq3fqqc59fvhxjzwywsjbb-guile-3.0.9/bin/guile --no-auto= -compile /gnu/store/39li5qpiaj1lx89xgahlbgvfnjhpcpwg-shepherd-0.10.4/bin/sh= epherd --config /gnu/store/2vynkp1zv8ybq513clrcp1ga1bi156wb-shepherd.conf --8<---------------cut here---------------end--------------->8--- Inetd services such as sshd also become unavailable: shepherd accepts connections but does not process them. Excerpt of /var/log/messages: --8<---------------cut here---------------start------------->8--- Jun 10 16:20:29 localhost shepherd[1]: Removing service 'tor'...=20 Jun 10 16:20:29 localhost shepherd[1]: Stopping service tor...=20 Jun 10 16:20:29 localhost Tor[2]: Catching signal TERM, exiting cleanly.=20 Jun 10 16:20:29 localhost shepherd[1]: Service tor stopped.=20 Jun 10 16:20:29 localhost shepherd[1]: Service tor is now stopped.=20 Jun 10 16:20:29 localhost shepherd[1]: Done.=20 --8<---------------cut here---------------end--------------->8--- The workaround is to reboot the hard way: sudo guile --no-auto-compile -L /gnu/store/39li5qpiaj1lx89xgahlbgvfnjhpcp= wg-shepherd-0.10.4/share/guile/site/3.0/ -c '(use-modules (shepherd system)= ) (sync) (pk "bye!") (reboot)' Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 10 13:04:59 2024 Received: (at control) by debbugs.gnu.org; 10 Jun 2024 17:04:59 +0000 Received: from localhost ([127.0.0.1]:47032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGiS3-0006Jj-40 for submit@debbugs.gnu.org; Mon, 10 Jun 2024 13:04:59 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:51480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGiS1-0006JI-B8 for control@debbugs.gnu.org; Mon, 10 Jun 2024 13:04:57 -0400 Authentication-Results: mail2-relais-roc.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.08,227,1712613600"; d="scan'208";a="169926563" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 18:55:24 +0200 Date: Mon, 10 Jun 2024 18:55:23 +0200 Message-Id: <87frtkn3es.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #71478 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) 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: -2.3 (--) severity 71478 important quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 11 11:41:27 2024 Received: (at 71478) by debbugs.gnu.org; 11 Jun 2024 15:41:27 +0000 Received: from localhost ([127.0.0.1]:35735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sH3ci-0000Mv-Up for submit@debbugs.gnu.org; Tue, 11 Jun 2024 11:41:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGmDy-0000cG-Lt for 71478@debbugs.gnu.org; Mon, 10 Jun 2024 17:06:43 -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 1sGmDb-00072l-UC for 71478@debbugs.gnu.org; Mon, 10 Jun 2024 17:06:19 -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=OBvw1vZCJz00zhoxc9bLhUyBihJLqK+K3oGUxjoZh7I=; b=r+RFo/oo84x7LeNKwjNj hwEy/p0tJNvgQvRmzuS5SkyQBps1PVhjgQf1ro2wo65FlGyox+vbJD5fSPTLFiP0WZOqPojzm8m+K 94sOaXd+a63Jf5ntM2QMpA7IJz7xwnHbNiMU2aD0MN7Kj9ec304rb5EjxbCt5R3PrAVAxTcQFqj56 ndLdPRH9PIzqV7Rk40W5Pb1aJkHn/7JnPK8qJyTEvhgq/2og0MtGWrHi6jG6MHCmuLat8makbAGmt TxhMM/zwzog5KSe8AXzbYY8SXUeIMhGjsL388g6ukzfXJgMyVwoFgy4kNL+lFkG7sjWqGhV/CX8M6 IZpSS9Xt4tuw2Q==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 71478@debbugs.gnu.org Subject: Re: bug#71478: [shepherd] Unloading a service renders shepherd unresponsive In-Reply-To: <87jziwna3b.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 10 Jun 2024 16:31:04 +0200") References: <87jziwna3b.fsf@inria.fr> Date: Mon, 10 Jun 2024 23:06:16 +0200 Message-ID: <87bk48mrsn.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71478 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: > ludo@guix-hpc7 ~$ sudo herd status tor > Statut de tor=C2=A0: > It is running since sam. 01 juin 2024 15:58:57 (9 days ago). > Valeur d=E2=80=99ex=C3=A9cution 453. > Activ=C3=A9. > Fournit (tor). > Requiert (user-processes loopback syslogd). > Sera relanc=C3=A9. > ludo@guix-hpc7 ~$ sudo herd unload root tor > Removing service 'tor'... > Done. > ludo@guix-hpc7 ~$ sudo herd status tor > ^C A simpler workaround is to do =E2=80=98herd stop SERVICE=E2=80=99 before =E2=80=98herd unload root SERVICE=E2=80=99. Anyway, fixed in Shepherd commit b81aa4d2554b9ddff683c33c0d1d7036842d2b76. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 11 16:24:34 2024 Received: (at control) by debbugs.gnu.org; 11 Jun 2024 20:24:34 +0000 Received: from localhost ([127.0.0.1]:36405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sH82k-0002lN-52 for submit@debbugs.gnu.org; Tue, 11 Jun 2024 16:24:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sH82i-0002kn-Sc for control@debbugs.gnu.org; Tue, 11 Jun 2024 16:24:33 -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 1sGmDk-00073n-Q3 for control@debbugs.gnu.org; Mon, 10 Jun 2024 17:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=FbWei904gUz/OpRWAaHYpXp4ttwokv4gbr9/UcRUDrY=; b=YEZplHj8l414Cg 0wfYDRxtpRpjga3z1hqXZHy54cjFWX044PiqMAnEY8Eve1uO+JKeNtxRP1FiPFAjtqvFRpRSRC4qk 9b8K+yhttxZEUZu2VwoLE2w/bCx9cyFHaebXFjBD3nPEprQDpO3dVUwMS9Krxk2Xa6pN3gW/fvjvf toZoxfIU5h9mQSUoEtri2dLvh3unHmDhKBhkOijKEYaatVjwn/Z7L/Xwzr+31MOJN/xT+YQegkV8E TRu08dTrnWPwuSlI19GTBgyuv6mEONjwbIuzhEOfk6rq70fW1lae6FOdQnYC4fGew09WB+Ph7WFh1 ztzETL7Hxu0JjTs0XO2Q==; Date: Mon, 10 Jun 2024 23:06:26 +0200 Message-Id: <87a5jsmrsd.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #71478 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 71478 quit From unknown Tue Aug 19 10:00:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Jul 2024 11:24:21 +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