From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2NGjILlgOGR1YAEASxT56A (envelope-from ) for ; Thu, 13 Apr 2023 22:06:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uBe7H7lgOGRJVwAAG6o9tA (envelope-from ) for ; Thu, 13 Apr 2023 22:06:17 +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 3B9C5A5AD for ; Thu, 13 Apr 2023 22:04:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pn3BB-0007Ul-6V; Thu, 13 Apr 2023 16:04:25 -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 1pn3B7-0007TT-TT for guix-devel@gnu.org; Thu, 13 Apr 2023 16:04:22 -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 1pn3B4-0005ZI-R3; Thu, 13 Apr 2023 16:04: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:In-Reply-To:Date:References:Subject:To: From; bh=/uxJQDJBmm+68/9RoYq1CN12M3FYm6O2ymrYtDaIAwg=; b=NLawAQtwOzZV522p+x4H CmVlxP3YHAcU01UYqk71DyIecKqd/iDAfqmz+Kp1zey2Au03do3rMkluwvlxWu1efGX1GDk/eW7YJ VbLNck1dogyTRj0EUp1xEmb59oazUIagQFqTstmbZiQ0GhrveJ1+5sOpdr24H5daOye8/DJ1rx3dz d9w9mt+KEjsrvGU0YDBnu31wrwzSmkSmpeodCZKuGm1tsde8rQ5f4hlmzX6sLgUtPhx9GM6fgS3sp xXH2dqnrnwRyRDFFZ6qWoCeyLBbpF/cQnVttrATYULrDm6T+UWqt1mNTKrrZYOeo08g9aJsJ4+1B4 yXD3SQwiotHuew==; Received: from [193.56.243.80] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pn3B3-0000HR-Ud; Thu, 13 Apr 2023 16:04:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vladilen Kozin Cc: guix-devel@gnu.org Subject: Re: herd stop hangs References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 Germinal an 231 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Roquette 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, 13 Apr 2023 22:04:14 +0200 In-Reply-To: (Vladilen Kozin's message of "Wed, 12 Apr 2023 17:40:39 +0100") Message-ID: <87r0sny2f5.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-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681416285; a=rsa-sha256; cv=none; b=nuz6A5UYvBY7n97rPjTsySwyCqRbHgqEiLbV6IkAJtBflHOkZvakPGzqwl3INobEZ0Gv2w kJHjry7dNqnIFqFaytKy3w96dyeN4MTAHObdS15TB68Szvqy8D/eBARjnTzTrfQPpMaSob wmboQHQlzhI4eqz4jpaPMuXzWhKDGfkdUTVhKE7crDSfuSlKCPjAp8YAe9+vlVD0FQip++ +V6jU/YNj2rumS2SHQkw/mnB5fUAOoyCA33/HUvDstgAmKG0fopqpxTS4j9IG8awlkji4S H1Fsrqky8lIn0PiQoPobIcmlxYOyEiFNGuEOxCAVOfn0QboMhkK7lWj3zvsLFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NLawAQtw; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681416285; 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=/uxJQDJBmm+68/9RoYq1CN12M3FYm6O2ymrYtDaIAwg=; b=F/N8Z6K66Nm6YpIhKwgX6Fm83LSs3MRDqXPRCp/98ehAaLqeuXAbLuFLb+07nvfglJtM9Y K2SeP3sSH0MlU+gfX8+KxH1RLATGtuktOv7G4iq1dXLpLfSuF853Wny4aGf37aA2zyKJFO 8q4fjeXftLtFHf9Rghf0mZR3kjtMZiUZOAndSxNHIox8a0BWxuN+hPatdyCjkdrK7g+s/u b4oO1OOSqujpOxIv8nVlpc53eFBX+0ZmhMQ6stmHHBFh6REN9tQB2s3cWlL7YgrPzU1B2x 5te1AC9ztdic51l2UkNxdpx0Z8dVoP7QYmDDUH9pYMWpa+9o3sI8JFqoCLeKMw== X-Migadu-Queue-Id: 3B9C5A5AD Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NLawAQtw; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.82 X-Spam-Score: -9.82 X-TUID: 2ZVrGSmGVs52 Hi, Vladilen Kozin skribis: > $ sudo herd start my-service > starts without a hitch, but > > $ sudo stop my-service > simply hangs for the default 5sec until Shepherd SIGKILLs it (as per > /var/log/messages) and even after that console where I run the herd stop > command doesn't get released until I manually CTRL-C it. (I guess the second command is =E2=80=98sudo herd stop my-service=E2=80=99.= ) If you interrupt the =E2=80=98herd=E2=80=99 command, does =E2=80=98sudo herd statu= s=E2=80=99 and similar commands still respond? If not, could you share the relevant /var/log/messages excerpt? Thanks for reporting the issue, Ludo=E2=80=99.