From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 2L8QOcm9mGJTmgAAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 15:40:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MJQHOcm9mGKMcAEA9RJhRA (envelope-from ) for ; Thu, 02 Jun 2022 15:40:25 +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 684422C5D7 for ; Thu, 2 Jun 2022 15:40:25 +0200 (CEST) Received: from localhost ([::1]:32802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwl3o-0000I0-32 for larch@yhetil.org; Thu, 02 Jun 2022 09:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwl3U-0000H7-Js for bug-guix@gnu.org; Thu, 02 Jun 2022 09:40:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwl3S-0002sk-Lt for bug-guix@gnu.org; Thu, 02 Jun 2022 09:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwl3S-0001RB-It for bug-guix@gnu.org; Thu, 02 Jun 2022 09:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53225: shepherd freezes if wireguard is started with dns config enabled Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 Jun 2022 13:40: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: Nathan Dehnel Cc: 53225@debbugs.gnu.org Received: via spool by 53225-submit@debbugs.gnu.org id=B53225.16541771455398 (code B ref 53225); Thu, 02 Jun 2022 13:40:02 +0000 Received: (at 53225) by debbugs.gnu.org; 2 Jun 2022 13:39:05 +0000 Received: from localhost ([127.0.0.1]:53168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwl2W-0001Oz-Tx for submit@debbugs.gnu.org; Thu, 02 Jun 2022 09:39:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwl2V-0001OP-De for 53225@debbugs.gnu.org; Thu, 02 Jun 2022 09:39:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwl2Q-0002My-4i; Thu, 02 Jun 2022 09:38:58 -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=wz3DANQgtmfPV7OYuDRej4Orf/n+aKhKHUFEYn9RJyc=; b=kKAyg+7X9eBreK1szgm/ tTiCdTHtgKo0M3vjY+4OsVh09H8ekzvHKAHwjkWuywxWqMyYZue41Z0wIC+dJqjvY1Rir545Xm9SD aJkDWsqtnHhKwYiNFBjQqb0tIcFwb5ErzZIW5c3s8VTWzChiTdTWP4T4DpLIhwK2TS0r5ax7dEKvg ByanG8e2jWuAfBz63cOTxzbG3l5c+H/mEdB7FTdN1q+PevWN8zO2+vo/EM5hENHzBJdlj+2iZtTCQ 3ghqmGb/ls7SPeFVato+yFpaTiSvl2SeMCG22WQkxLmvX8Zd6Ztcbej8K/YF/iRDqOl96D8fQyrv3 P3QsI2JuWIBu+A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58847 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwl2P-0005Ld-PA; Thu, 02 Jun 2022 09:38:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> Date: Thu, 02 Jun 2022 15:38:56 +0200 In-Reply-To: (Nathan Dehnel's message of "Wed, 1 Jun 2022 17:56:04 -0500") Message-ID: <87o7zbp4lr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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" 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=1654177225; 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=wz3DANQgtmfPV7OYuDRej4Orf/n+aKhKHUFEYn9RJyc=; b=GYXA43nOtdPEivtuzaEYYuayL48ZXpz7ZC0PWNYhdyRbswyK2nZ5wS/tZ6uuK1PioJ4bo4 MIcIaVsI+wP+9pBB5NSHMDlJw0nSOJkKRcqzw+J1yhjvS0LrQG5SYZYbDjr89dVfcqriCT EEhbZaZqrXUUYHOmwk1H6ElisJjngXssYcwBV+Bhg+8vSvHFdZbtNoHEreCJY9BvR+u5/6 OBFJQS8aWo6zHuo/FZ7ULWeJ+P/4vuROJk7QXuuv6D7U4frMDZwWTj0tOBWqTKhjPAR4mS fC6Bqcq9Ut7yGIcJCK8gcfExbleSDmv2KDEq6ZxLQXRAZLfXzlMFb98HtK6vFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654177225; a=rsa-sha256; cv=none; b=jp83/J/uVIDIDdRA28cPBExOA7z5MYpJVk2AhHfH3NN3lfGy1a2KmkiInqievg1gJj25le KozP8USagRHoxTsamLTT10UETQ3Dg4azV3rh+KIslSoe1wniiolsPyEjKe+XP3o316ofTA TB1nCOAOlgfvmpDjjp9mAZGbM1EbzZLFH0H0Cwj9leAjkb/NxPSHb06gdxMjjnqI3FQI+j mnSjYCKN+lWupsAgcw6Y+/xiVMRa4tpJlf83+Xj3VWZrZpgLS7uAcZVTfgE0fvxIbYUnip l5cAwHOE6LEIH7rJMzj202BxnSctJ2dfis15IyVL6qQQM3lgdlo5ZJ3ELJmENA== 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=kKAyg+7X; 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.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kKAyg+7X; 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: 684422C5D7 X-Spam-Score: -3.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: N6XIr/KQettB Hi Nathan, Nathan Dehnel skribis: > Just tested and Shepherd 0.9 does not fix this issue. Could you be more specific? Specifically, could you share /var/log/messages for the parts related to Wireguard? > On Mon, Jan 17, 2022 at 7:48 AM Ludovic Court=C3=A8s wrote: [...] >> One command sent to shepherd by =E2=80=98herd =E2=80=A6=E2=80=99 must ha= ve 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 s= econds, so the >> second =E2=80=98herd=E2=80=99 command won=E2=80=99t print anything until= 3 seconds have passed. This is actually still the case with 0.9, because here we=E2=80=99re calling (@ (guile) sleep), which blocks. So=E2=80=A6 not a good example. The short story is: it is still possible to write code that blocks shepherd, as with the =E2=80=98sleep=E2=80=99 example above. However, the = standard service constructors/destructors no longer block, and shepherd can serve multiple clients concurrently. Ludo=E2=80=99.