From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wEFoJ+Tul2JsQQEAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 00:57:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cFptJ+Tul2JHSAAA9RJhRA (envelope-from ) for ; Thu, 02 Jun 2022 00:57:40 +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 3AD8589AA for ; Thu, 2 Jun 2022 00:57:40 +0200 (CEST) Received: from localhost ([::1]:36628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwXHW-0003Sp-SH for larch@yhetil.org; Wed, 01 Jun 2022 18:57:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwXGx-0003Rs-73 for bug-guix@gnu.org; Wed, 01 Jun 2022 18:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwXGw-0008VE-E4 for bug-guix@gnu.org; Wed, 01 Jun 2022 18:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwXGw-0005UV-B1 for bug-guix@gnu.org; Wed, 01 Jun 2022 18:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53225: shepherd freezes if wireguard is started with dns config enabled Resent-From: Nathan Dehnel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Jun 2022 22:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53225 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 53225@debbugs.gnu.org Received: via spool by 53225-submit@debbugs.gnu.org id=B53225.165412418321048 (code B ref 53225); Wed, 01 Jun 2022 22:57:02 +0000 Received: (at 53225) by debbugs.gnu.org; 1 Jun 2022 22:56:23 +0000 Received: from localhost ([127.0.0.1]:52184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwXGJ-0005TP-54 for submit@debbugs.gnu.org; Wed, 01 Jun 2022 18:56:23 -0400 Received: from mail-yw1-f181.google.com ([209.85.128.181]:40075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwXGH-0005TB-D8 for 53225@debbugs.gnu.org; Wed, 01 Jun 2022 18:56:21 -0400 Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-30c2f288f13so34391237b3.7 for <53225@debbugs.gnu.org>; Wed, 01 Jun 2022 15:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hwBobqKZb5Hn6iW0y5djRdRvgZGcop9F7IIdrhRcZ0E=; b=LzBnyTTa3jJvfps8u/bY/D36K7S4RNjfY52vYT5kW8ZGu8Wpco04xCA+xuDg9ymEr5 oRup/1XS3u2n8F6eWk4K2gZFyCjrcEoSUFGJi6RI7emvUlYjHhuGl11MCmEk72/5AyeH Ktx3FCsRWRXb12r2skb9cwhIGHpDTNcpbpYeQzW9DBgfUsEp7MZt/vvu003bM756n/Hl GVNFliMVf4ZVWZrT93iuaJdddYX1Mm9S0nmie1jFXw8XsdJBK21z7W+JxDW7x9RjMmQN sJmI46ubCD6mlAg1VbFyU61PRjRdh63ffgGr3pz1ifHfataklCzBwNoLRk9c/L11YRQn e8lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hwBobqKZb5Hn6iW0y5djRdRvgZGcop9F7IIdrhRcZ0E=; b=XAmeVB5rOKUFXisoB4X/627/BP3Qn10eQYHEcwY/6SEcYH6KifJlrTYhivCAggIC2x zqDZZumTaW3kqxvKlxqH2nXxPIzecZLaDinSNY2fsty+UZvM15VtGe/MaYWeIP2TBQXq tk9pWxjYtIeZZ7mv+/LxurRMROsVVs3U0gjm5UKF7lXhgfKK4b96id7CzY5ri3mOb/Bk Fp6ARAJhHF0hgDNzWGZZvIvyk83zoGLqAwtAWk9o+MOnLuaPverKwi5u6jNjWDgWJcEi 4HjkfyByfEsxRJbst3VhP5WnJvKPXJ8dK4wiwBRT9GtY7DcHAb5q8j18zCk7gY72gZbh dyDw== X-Gm-Message-State: AOAM53066TpaTuHQvXjmtcVNR2A8eC8QgoLQACO6Dw6UxwY1uEyy0Vqb IEisObsyFXMN/HPWIBB3YM39ajzizL3IuPfe0tM= X-Google-Smtp-Source: ABdhPJweoI04mu7AnkeIcs+CJpQA7EJ8q+Ks2sJtq8FXwlJ9IzQYY0HX9mfv2IvnDAeIJIGuVsKrE6DwaEBGFHNagCE= X-Received: by 2002:a81:8494:0:b0:30c:14a4:eb96 with SMTP id u142-20020a818494000000b0030c14a4eb96mr2309307ywf.61.1654124175622; Wed, 01 Jun 2022 15:56:15 -0700 (PDT) MIME-Version: 1.0 References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> In-Reply-To: <87y23eo4lj.fsf@gnu.org> From: Nathan Dehnel Date: Wed, 1 Jun 2022 17:56:04 -0500 Message-ID: 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654124260; 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=hwBobqKZb5Hn6iW0y5djRdRvgZGcop9F7IIdrhRcZ0E=; b=qCIX8ITeCbSSa177L8tDdH0TXqZ5oXTuxSalJtIy+O67PhbvGYNncOrxDcljWbnNaj3Jlm WknE9nd4zGNoKXXMl47S7d6xHnVIyikVv1QQfNCjae9W5ilQIQpLjn8LLPlOWHU5NIjAvo Tc1sIwkOCSgPXUqrU/VFHos75qFjpdeRwI56+2WWt/qY8bgd4wyfj3qdKzMGERRJv7eFDq 4wIWBdZW5NjlQ48NGmTw4Sxjmlc7495fBJrAttzAmHzI+Tkc6D/szMGJaQng1XqFB460Tq 3gV3mbJAdHVjTcG3f40RdLT1KQD0TNSXB9WP4skT5cx1vA+xO/vdsZIfGnd6/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654124260; a=rsa-sha256; cv=none; b=actP59O+UwmerL8NAdFG/jEOX9fdtDe/AX3LdqlVlLADdGAUATofV1atzeZoT/5ltY/ktp CBNFwfJwb6w4wm0+k3pEfTZSonuhZAxP+oaon+fiYpIw8B1zxagQiICEvN6DUYtIhSXfV5 v1pmx4xcQnN5uzstLSfqO3OeDL0ruRmnx9dxBU+AuKWVih5Uv1TcXFGXdB3+odJkGm+QhA 84kXPUxtY1mcrp58C3qCXYDBnBUf+SUc5JSbcMZQFZ7/p8UfyU85gUwE0O9w2qWBAqpknb OyOQU9kOOe5HRbHvckkSnqnQzMoJab95mEfGahZDxoD0JLtGXOEiYW6NEluXKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LzBnyTTa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LzBnyTTa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 3AD8589AA X-Spam-Score: 5.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: FOheZJ98MdZ8 Just tested and Shepherd 0.9 does not fix this issue. On Mon, Jan 17, 2022 at 7:48 AM Ludovic Court=C3=A8s wrote: > > Hi, > > Nathan Dehnel skribis: > > >>What do you mean by =E2=80=9Cfreezing=E2=80=9D? Does =E2=80=98herd sta= tus=E2=80=99 and similar commands > > block forever? > > Yes > > > >>Requests in the Shepherd are currently handled sequentially. So if you > > issue several =E2=80=98herd restart=E2=80=99 commands, they=E2=80=99ll = be processed one at a > > time. This is usually okay because =E2=80=98start=E2=80=99 commands ar= e expected to be > > quick (just wait for the daemon to write its PID file or similar). > > What is the nature of this serialization? Does wireguard need to > > finish before resolvconf can start? Because that's probably the issue. > > One command sent to shepherd by =E2=80=98herd =E2=80=A6=E2=80=99 must hav= e completed before the > next one is processed. > > You can experience it like this: > > sudo herd eval root '(sleep 3)' & echo status && sudo herd status > > Here the first =E2=80=98herd=E2=80=99 command has shepherd block for 3 se= conds, so the > second =E2=80=98herd=E2=80=99 command won=E2=80=99t print anything until = 3 seconds have passed. > > HTH, > Ludo=E2=80=99.