From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eBP0NLTLbGMsjgAAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 11:00:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uMYFNbTLbGN0awAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 11:00:20 +0100 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 B4ED4B596 for ; Thu, 10 Nov 2022 11:00:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot4Lz-0007oQ-4j; Thu, 10 Nov 2022 05:00:11 -0500 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 1ot4Lr-0007mL-7n for bug-guix@gnu.org; Thu, 10 Nov 2022 05:00:04 -0500 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 1ot4Lq-0000KN-PT for bug-guix@gnu.org; Thu, 10 Nov 2022 05:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ot4Lq-0004va-Kc for bug-guix@gnu.org; Thu, 10 Nov 2022 05:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#58926: Shepherd becomes unresponsive after an interrupt Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Nov 2022 10:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58926 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 58926@debbugs.gnu.org Received: via spool by 58926-submit@debbugs.gnu.org id=B58926.166807438018884 (code B ref 58926); Thu, 10 Nov 2022 10:00:02 +0000 Received: (at 58926) by debbugs.gnu.org; 10 Nov 2022 09:59:40 +0000 Received: from localhost ([127.0.0.1]:41947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot4LU-0004uV-C4 for submit@debbugs.gnu.org; Thu, 10 Nov 2022 04:59:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot4LR-0004uH-Tc for 58926@debbugs.gnu.org; Thu, 10 Nov 2022 04:59:38 -0500 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 1ot4LG-0000Fb-Dn for 58926@debbugs.gnu.org; Thu, 10 Nov 2022 04:59:32 -0500 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=vTT/XaNncd8whl7IFZUCii75DjLvMG8Q/r7m7y3p6k4=; b=ma/G9yBa/RGh5OeOVEEr hTbCWRVg21MuLj5qEAVyyng0sBBN0+dITIyEbdNgP2Xa5ZR5sJ1flrbr7Coufbks35DDmtsZKSg8w +BzXd6w1i0x0ZnSibgUv0wiwLQR79QzdTzFOrGdXCcxH/ootesC40zQoLQTTnnRkU7QTbJyTpS2VJ ESHIHdvGOcxnNRF48bOAMLzC5hWJordBlop16NWUwzRf4kJoTyByEZiuH7HaHHf1Z1Q4vrw+s7i7f irgcHZ7uJnf2sxtPEGWezpfm2U0QomAPIkQmDvbZQrpu4o3chCWXp4qKlwVkNELcwWh6CuSVCkcg8 pRvuRg+Wrlm7dQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot4LE-0003bX-UD; Thu, 10 Nov 2022 04:59:25 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a65cgo1t.fsf@gnu.org> Date: Thu, 10 Nov 2022 10:59:23 +0100 In-Reply-To: <87a65cgo1t.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 31 Oct 2022 13:44:46 +0100") Message-ID: <87wn83jfk4.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: 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668074416; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vTT/XaNncd8whl7IFZUCii75DjLvMG8Q/r7m7y3p6k4=; b=DTjIJF47paUipkhyPK/GoQndx4xLjyId1My+ALgRIKdzoWtvo+34PkRZ+5+YUGdHsrUoNZ yEGpfUk2fH3ClvPUCYNmyk6mO3bvjIiQNdpgdjHt5oybKaedPJOvDEp7//1lAsnik3RtiK eHoMS7RBir2gb/2NMDsalO8xKexepzx8BjT7DMaw9nCYx0dekpLAMvWFUbTA/d+7pJoQde 2e9kURxHmesDgk0fnixNnlQ/8eMgFfkQdPjdA+5HW8Saxo+j1Rx4T3WVkVlFoMPDhvghxX n7qHgGUebxBx7oUwee221/IEGnlzLeetZjRhGcvadyLqOMG0lzNF/Y2lWGU9cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668074416; a=rsa-sha256; cv=none; b=piksIlwTV/LOXhFHiYYRS4XuICmOw5XQEozK/ViQfAKWwbtBKjqXx7Ez9goUSDd1Va/LXJ MF67SsqfNANQ5W5MIU1yTV3W2xnvfRe/WhSeOwoTnqbAMjLoz2c+yFJdnS4aSYdMkmaQQ4 y7H5v4/yPSeOeEq2Sikph6mU134IiTAHSKdtSJIdkoRS1o88vQGTgm9YbOCaNBSYoLiGuW aMImC6Hj9rzSAp3AcBG8lrPsQDFXcfLSTodXwMOL3H/Jrllcw24Vd7amaZw1bNe0Ed687z Ad9jgMZcpCGOPcE9c5v0kNCRQ3PnR5z8dYMYfRUXhPspyX0Ryam97+gkGRx4iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="ma/G9yBa"; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Spam-Score: -3.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="ma/G9yBa"; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: B4ED4B596 X-Spam-Score: -3.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y4rDiLK1ojkU Hi, Mathieu Othacehe skribis: > sudo herd restart service-that-hangs-upon-restart > > > then hitting C-c, Shepherd becomes totally unresponsive: > > sudo herd status > > > and all further Shpeherd commands hang forever. I was able to reproduce > it in two different configurations: > > 1. On my laptop with a Wireguard service trying to reach a non-existing > DNS server. > > (service wireguard-service-type > (wireguard-configuration > (addresses (list "10.0.0.2/24")) > (dns '("10.0.0.50")) #does not exit > > 2. On Berlin, while trying to restart nginx. I experienced case #2: in that case =E2=80=98strace -p1=E2=80=99 showed tha= t shepherd was stuck on waitpid of the nginx process, which was not terminating. Killing that process would unlock shepherd. This might be . Would be good to see what=E2=80=99s up with WireGuard. Ludo=E2=80=99.