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 0EVmENgLdmP5uQAAbAwnHQ (envelope-from ) for ; Thu, 17 Nov 2022 11:24:24 +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 wOlZENgLdmMCRgAAauVa8A (envelope-from ) for ; Thu, 17 Nov 2022 11:24:24 +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 044FC80E1 for ; Thu, 17 Nov 2022 11:24:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovc44-0004Xr-Bw; Thu, 17 Nov 2022 05:24:12 -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 1ovc3w-0004WC-8k for bug-guix@gnu.org; Thu, 17 Nov 2022 05:24: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 1ovc3v-0001RF-V3 for bug-guix@gnu.org; Thu, 17 Nov 2022 05:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovc3v-0003gI-7W for bug-guix@gnu.org; Thu, 17 Nov 2022 05:24:03 -0500 Subject: bug#53225: bug#58926: Shepherd becomes unresponsive after an interrupt Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 17 Nov 2022 10:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53225 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 53225-done@debbugs.gnu.org, 58926-done@debbugs.gnu.org Mail-Followup-To: 53225@debbugs.gnu.org, ludo@gnu.org, ncdehnel@gmail.com Received: via spool by 53225-done@debbugs.gnu.org id=D53225.166868059814053 (code D ref 53225); Thu, 17 Nov 2022 10:24:03 +0000 Received: (at 53225-done) by debbugs.gnu.org; 17 Nov 2022 10:23:18 +0000 Received: from localhost ([127.0.0.1]:59217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovc3C-0003eW-Fl for submit@debbugs.gnu.org; Thu, 17 Nov 2022 05:23:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovc3A-0003eF-Qm; Thu, 17 Nov 2022 05:23:17 -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 1ovc35-0001Mm-IX; Thu, 17 Nov 2022 05:23:11 -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=Hs+vlGl1Os/YmALKRzvaqJJjTq9ztnL/kKBt+eZogek=; b=KxRc+KJSpyjda/cRtL9y 71iKVT7+MYppPg7rHJeEDaJg1+kNp0UPGNdlZMG7gb64Twv63WDzDJU6LKu4Nr88gcpzHjnG1lECH iCIJUtcc5lib99vBUXK0vDa0yIbI8WlhtmE/PfBs1uNx7DlBVofjOT2ESBkC+ZbSb1MFD7Rc6+Z+Y 7Jnc+w8GrlUkwpGZi/fBX1ZIFFjJyIX53uGsF6OchICwn8/VIQqJQWeUIot7AICGWY+hEIUGRQ+39 85KbIl9RT0iBhJYghxrzvR20pvluEPlJr98l9yJ4NFjZUXhnO+XfsE8DYJ5XjuEXS+JS6bqGpwKYb NPb3uQCN0vIJew==; 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 1ovc34-0005Iy-Eu; Thu, 17 Nov 2022 05:23:10 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a65cgo1t.fsf@gnu.org> <878rkgcabz.fsf@gnu.org> Date: Thu, 17 Nov 2022 11:23:09 +0100 In-Reply-To: <878rkgcabz.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 12 Nov 2022 19:10:56 +0100") Message-ID: <87a64pkhgy.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=1668680664; 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-to: 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=Hs+vlGl1Os/YmALKRzvaqJJjTq9ztnL/kKBt+eZogek=; b=INnxTJhpOmc+LOPZiTa2LMZwQ1YORRtDlblwrWDuMrc3kF9y1tKLJ0k4udyu9zkyjdf5dZ GCtjlIGj7WTKeTOor5L0Rkwzq1K6ikyVvDA+whVe00Y24ZaCVQ/5F6d6tnzj+w7CScBRZ2 BT0R/IMVJgOxei53KIv+6iz89Yu4/IsB0dr7Ny6USyMcnEBsbmpLP/PyfBqdVqpHjA9NL9 ZMMUewONAyeIzB7Sko2fFcfWSmqW1cV/Hm1EjpzZpPZwJQ+b+KRQ5/dWh/V7RDP+5bCxJC PvDW6pew4l8Qyd4U1zhuAoIQjDN2XuYvecRLRIW8obYUobzOGgcZiR+Yqp1ibg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668680664; a=rsa-sha256; cv=none; b=CvdTs7thzD5oCMdd67S6jlGOA21QuB+ULQLwnQ6Dzs5jAPs1n2Y3dvf0lTviiXkxTyMHo+ 5hfpkc870/o7HtIzIwrhT6Kw7j/9uPz5jEOT9fYZcvSFORjJbtyzdCCeM/r3N4+Jwlr1Rb NEWaCXeeCRb3wYnA0dZ7SNkZ8oBOxykyz4LL7GTHXDz9ss6vkzSU64mnIHZjahjWCqRb5W 2T7diH0a/PmLpNEiNgJRhQc1As30FtDbEKjUfSc+ajYF2nA8kplR7RWrlFumGJRPQ+X4PA jgWLBofc42KWd0DIoBTp7QhDpTNqVTsqqwryMASNGtCxpnGwHWkNf53iXPtUXw== 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=KxRc+KJS; 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: -5.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KxRc+KJS; 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: 044FC80E1 X-Spam-Score: -5.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: UQM1fkl3BsyU Hi, Ludovic Court=C3=A8s skribis: > Mathieu Othacehe skribis: > >> 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 > > This one is similar to: > > https://issues.guix.gnu.org/53225 > https://issues.guix.gnu.org/53381 > > It has to do with the fact that =E2=80=9Cwg-quick up=E2=80=9D blocks unti= l it succeeds > and that =E2=80=98invoke=E2=80=99 gets stuck on =E2=80=98waitpid=E2=80=99= until the =E2=80=9Cwg-quick=E2=80=9D process > terminates. > > The solution will be to use something non-blocking instead of =E2=80=98in= voke=E2=80=99; > I=E2=80=99m looking into it. This is fixed in the Shepherd 0.9.3, which landed in Guix commit 283d7318c5b312d7129adb6dbeea6ad205ce89d1. As I wrote, I=E2=80=99m not sure whether it fixes the nginx situation since= I could not reproduce it. I=E2=80=99m closing and let=E2=80=99s open a new i= ssue specifically for nginx if it comes up again with 0.9.3. Thanks, Ludo=E2=80=99.