From unknown Sat Jun 14 03:55:06 2025 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: Thu, 13 Jan 2022 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53225 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53225@debbugs.gnu.org X-Debbugs-Original-To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Received: via spool by submit@debbugs.gnu.org id=B.164203367022840 (code B ref -1); Thu, 13 Jan 2022 00:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2022 00:27:50 +0000 Received: from localhost ([127.0.0.1]:59457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7ny1-0005wK-Ul for submit@debbugs.gnu.org; Wed, 12 Jan 2022 19:27:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:52540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7nxz-0005wB-GW for submit@debbugs.gnu.org; Wed, 12 Jan 2022 19:27:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7nxz-0001Az-9c for bug-guix@gnu.org; Wed, 12 Jan 2022 19:27:47 -0500 Received: from [2607:f8b0:4864:20::b36] (port=46697 helo=mail-yb1-xb36.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7nxp-00054h-BY for bug-guix@gnu.org; Wed, 12 Jan 2022 19:27:38 -0500 Received: by mail-yb1-xb36.google.com with SMTP id p5so10280189ybd.13 for ; Wed, 12 Jan 2022 16:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=2iem4Uf5OAETtW6x8KWPyFT0Jwnirh35Ya5nEiMNm8E=; b=AvCg20Q7rvyu3TPForjpRB6xGBcijvc4R96q3D6gG3dCMwWB1oVSD1xY5deyjpGGsw 439DakywQvtVVdUkpJnWf/dpwvPlb8cDBljdf2OLMcqW4SIexgLaq6xRoA3PsYPijtIj wY1I0XfTJ1j+81M4921kp07Js8x28ZmQ5aEjiyzQzhoj+fgfi73Yk2l4iAZFGt8+qcan VWvapqvcc4zxp4gVBHz1dgeirEKX62yX+NTCDQxxzFl8uNzlk3dUNylj/m+/sKpBwH3v LCozDr00bKV44GCH/mt6UbnTMNmFtE7oG46RkZYmHwBswoD8nVJh/Bx7KVMME5BatCXb M+wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2iem4Uf5OAETtW6x8KWPyFT0Jwnirh35Ya5nEiMNm8E=; b=oMV/tsTj+bRIGiPa5XnJdlMExPaKA+qWFLOtwYmJqsWVjBFRYuj2zu6LzhNBLQPWwZ OpEaJDls9GiFZgq3PelkkRIbD1KSCT0shgZohZn7FJ2WL+41s2xjmiw45EzCbvjfucFm IjxazaSqZqGBoCruXog+++ureJJhpc5wCngqaZngSaeyjIDy6vfFOY7Iw1iqZ3SvQwT1 jHBKpBKayUaYAX2/Irpa9Yji9in5j2F5J8ckqPfaaT4Ve2z5KdDXaDPbhxPafdC+vxM3 ArqFbX/gFHInnZwNBzR2pkhGChgCw9r7/ID1+ZYC8ilVp7B/ORgOKfITMq4OJx5tg+pF iNTg== X-Gm-Message-State: AOAM530nDG5+ijNI+uWJO30qwqjolg8757bzEUq65cWA2mgIa4dmrC3l ggMJUmxwW3MF3Zu1ceR9gpULgvSViT4o7opTPhbtwC1BuN8= X-Google-Smtp-Source: ABdhPJyBS0ztRm7xMCbsQar2a7LK0fgvYpQ33QlemuWyM2RQ/AFP9dP+onNvMfOlCa3ip/Bz0S24dA3MWNWkHIFicWQ= X-Received: by 2002:a25:409:: with SMTP id 9mr3073187ybe.456.1642033655663; Wed, 12 Jan 2022 16:27:35 -0800 (PST) MIME-Version: 1.0 From: Nathan Dehnel Date: Wed, 12 Jan 2022 18:27:24 -0600 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b36 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b36; envelope-from=ncdehnel@gmail.com; helo=mail-yb1-xb36.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When dns is specified, wireguard runs wg-quick, which runs resolvconf, which runs /run/current-system/profile/bin/herd restart, which causes shepherd to freeze because I guess it doesn't like being given multiple start commands at once. I'm not sure how to fix it. From unknown Sat Jun 14 03:55:06 2025 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, 13 Jan 2022 15:12: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.164208670517045 (code B ref 53225); Thu, 13 Jan 2022 15:12:02 +0000 Received: (at 53225) by debbugs.gnu.org; 13 Jan 2022 15:11:45 +0000 Received: from localhost ([127.0.0.1]:34245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n81lR-0004Qr-Gj for submit@debbugs.gnu.org; Thu, 13 Jan 2022 10:11:45 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n81lQ-0004Qf-L3 for 53225@debbugs.gnu.org; Thu, 13 Jan 2022 10:11:45 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2D38C2BF; Thu, 13 Jan 2022 16:11:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DZkN1KKbRkNj; Thu, 13 Jan 2022 16:11:37 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3A47C2A0; Thu, 13 Jan 2022 16:11:37 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 13 Jan 2022 16:11:36 +0100 In-Reply-To: (Nathan Dehnel's message of "Wed, 12 Jan 2022 18:27:24 -0600") Message-ID: <87pmov7jrr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 2D38C2BF X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Nathan Dehnel skribis: > When dns is specified, wireguard runs wg-quick, which runs resolvconf, > which runs /run/current-system/profile/bin/herd restart, which causes > shepherd to freeze because I guess it doesn't like being given > multiple start commands at once. I'm not sure how to fix it. What do you mean by =E2=80=9Cfreezing=E2=80=9D? Does =E2=80=98herd status= =E2=80=99 and similar commands block forever? Or is it something else? 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 p= rocessed one at a time. This is usually okay because =E2=80=98start=E2=80=99 commands are ex= pected to be quick (just wait for the daemon to write its PID file or similar). Thanks, Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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: Thu, 13 Jan 2022 22:43:01 +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.164211372530300 (code B ref 53225); Thu, 13 Jan 2022 22:43:01 +0000 Received: (at 53225) by debbugs.gnu.org; 13 Jan 2022 22:42:05 +0000 Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n88nE-0007se-PT for submit@debbugs.gnu.org; Thu, 13 Jan 2022 17:42:04 -0500 Received: from mail-yb1-f179.google.com ([209.85.219.179]:41797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n88nB-0007s7-ID for 53225@debbugs.gnu.org; Thu, 13 Jan 2022 17:42:04 -0500 Received: by mail-yb1-f179.google.com with SMTP id g14so19249051ybs.8 for <53225@debbugs.gnu.org>; Thu, 13 Jan 2022 14:42:01 -0800 (PST) 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=OsVDoYIAKd6Sm/QPy9mhXLTVoSjBSm9qSAOR2x3p17s=; b=XIAwMUcawjNUEl7T63wF42t5nNvPDvl2+VUJ/K1GdAkQEzzxYrLkttX9Y175nGMtoX nKwOeZwxMzoxz19aELkwJdyoMMKzTJ0NhXFZGnAbrflz0J+q6OmsgcdZrJLS1BmFVxBq 8fVJYZDRF6Y9Jr3QdtsZa7JWjDreaSXobxZyBbCGW+sEpWuJGwa1pvYH5l8U/nCSQPQw UdZ73sET11pKAya3yT8sjV/PoYNl79Klpc8LpocL6HVT3yzBUuCQyTzJ7SEfFHqECuT7 zS1JAJbolnePxXchrKo2HVH4l8+AWyGjB4CM+BfXksDl+DED1VNii3S1EqWPk825VodV A7zg== 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=OsVDoYIAKd6Sm/QPy9mhXLTVoSjBSm9qSAOR2x3p17s=; b=bAba/mriOLq3J8ABjzyQEM69b0PG41bdG7b/d6mp7kz4ixEGGjvqmUoeSn3SDJumuN GJvpKlm7Y/DLW2ilgBPrIVWxU2zZIpfMpBAYP4bPUYJc3iCwm8lZpHyqfemBjkHlPkRk YEXwXiDCBDYk7cPs0Q9GhkyqKSCzyCeCPWDzr3priQ4UzfXCQX8KhqvuVkLhLnZMRzEr pKJAEUPjvvFcS/BS66KbgMfRjarXS7tck0y9esc5pMl9JvgyfNIr5h/pYA0zuKG9RcbC Pfv+6d48ifZcdaydxzSKW/M8C2T4tQZrDVHHNGeF3U3TSAcH6eZx8vfyFSTsIMFpvMEB SYQg== X-Gm-Message-State: AOAM533DxZjfAQM1gC24CIYmhcDFLm4yuORqQM4KxW6sWQ/NB+cPEB+l XWxMGWIXkJ51AiuPR4BrfHjW8gOZolgMcMI/IvsVumkP3ps= X-Google-Smtp-Source: ABdhPJy3Cz+leY9sIwmcaJ/5n50Ena/+Lyt07fPw4g3GOfR2IUCU/jopXcQmipcPBnt8LBerW8b0eSeSFliEz23UJJ4= X-Received: by 2002:a25:6c55:: with SMTP id h82mr9362082ybc.214.1642113715902; Thu, 13 Jan 2022 14:41:55 -0800 (PST) MIME-Version: 1.0 References: <87pmov7jrr.fsf@gnu.org> In-Reply-To: <87pmov7jrr.fsf@gnu.org> From: Nathan Dehnel Date: Thu, 13 Jan 2022 16:41:44 -0600 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >What do you mean by =E2=80=9Cfreezing=E2=80=9D? Does =E2=80=98herd status= =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 p= rocessed one at a time. This is usually okay because =E2=80=98start=E2=80=99 commands are ex= pected 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. On Thu, Jan 13, 2022 at 9:11 AM Ludovic Court=C3=A8s wrote: > > Hi, > > Nathan Dehnel skribis: > > > When dns is specified, wireguard runs wg-quick, which runs resolvconf, > > which runs /run/current-system/profile/bin/herd restart, which causes > > shepherd to freeze because I guess it doesn't like being given > > multiple start commands at once. I'm not sure how to fix it. > > What do you mean by =E2=80=9Cfreezing=E2=80=9D? Does =E2=80=98herd statu= s=E2=80=99 and similar commands > block forever? Or is it something else? > > 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 are = expected to be > quick (just wait for the daemon to write its PID file or similar). > > Thanks, > Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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: Mon, 17 Jan 2022 13:49:01 +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.164242733222570 (code B ref 53225); Mon, 17 Jan 2022 13:49:01 +0000 Received: (at 53225) by debbugs.gnu.org; 17 Jan 2022 13:48:52 +0000 Received: from localhost ([127.0.0.1]:45487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9SNQ-0005ry-5Q for submit@debbugs.gnu.org; Mon, 17 Jan 2022 08:48:52 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9SNO-0005rj-00 for 53225@debbugs.gnu.org; Mon, 17 Jan 2022 08:48:50 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 80E1A1D2; Mon, 17 Jan 2022 14:48:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rl23PzIlDKmE; Mon, 17 Jan 2022 14:48:43 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D78E438A; Mon, 17 Jan 2022 14:48:40 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmov7jrr.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?UTF-8?Q?Niv=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= 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: Mon, 17 Jan 2022 14:48:40 +0100 In-Reply-To: (Nathan Dehnel's message of "Thu, 13 Jan 2022 16:41:44 -0600") Message-ID: <87y23eo4lj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 80E1A1D2 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Nathan Dehnel skribis: >>What do you mean by =E2=80=9Cfreezing=E2=80=9D? Does =E2=80=98herd statu= s=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 are = 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 have = 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 seco= nds, 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. From unknown Sat Jun 14 03:55:06 2025 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From unknown Sat Jun 14 03:55:06 2025 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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From unknown Sat Jun 14 03:55:06 2025 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, 08 Jun 2022 23:24: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.165473063318857 (code B ref 53225); Wed, 08 Jun 2022 23:24:02 +0000 Received: (at 53225) by debbugs.gnu.org; 8 Jun 2022 23:23:53 +0000 Received: from localhost ([127.0.0.1]:44549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz51k-0004u5-LU for submit@debbugs.gnu.org; Wed, 08 Jun 2022 19:23:52 -0400 Received: from mail-yb1-f176.google.com ([209.85.219.176]:47086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz51f-0004tp-Pa for 53225@debbugs.gnu.org; Wed, 08 Jun 2022 19:23:51 -0400 Received: by mail-yb1-f176.google.com with SMTP id r82so38971903ybc.13 for <53225@debbugs.gnu.org>; Wed, 08 Jun 2022 16:23:47 -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=DPkq2vRJ/gby3dslzjip3bcSwRFZyjt6jcozQqyDuFk=; b=gdY8L9ibUUWozgGcX19XeQYnrVOBRorMONVRACbGmKW2180BukOuPWkqanCLYX5SYL qCSo5gBXI/IW/K8ZGn3xg9Y4UA4MAKG6qKZuVKEgCvCR6tXcE6kIIC3/+pekpT6cbH+p rssiZJsm168vVk0IAvKU+0H+6x2GvBOds5vsLuYDHx8iF9d6ziSZN7/AluWtcKBDi50I xqzypX2/S4h7YVJvFeTxzzUUsqCIlLjK2NgfVtwckdXe7TmlYwSm7jL6A/F3nIg6ucBN P1iHNWYnu1n1pwW69bYRlNbvk6OVivocxYhKU2PVdXtKUvvaZ+aNZIBFZ+L3wxrvu3XG TGFg== 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=DPkq2vRJ/gby3dslzjip3bcSwRFZyjt6jcozQqyDuFk=; b=GiU1uBDdI5CMpFAyzvHsgG2Iid93VUavvbVfAT3Y1vExFiSMIPXzdaRvDqK3S9NyvN HfAh89twNYXqBp1QfLTRW6kgdXCj+3W77+iT2hUR2glFkt7/p8E0WgEr952NcaLq2GU0 esWgINv0HY7Q6F/iagD9qqqhUQgxjIWI86VXDeHb9Jj+HOZn3f560/k5gObchov4CY6M drHFhrBynY5IZGWBSU3e9JG80EOp5L9rRWTovz0JfHiOxwJ0ii2ki3/RSXCrH7CHKlwc KprZOIowEdjM19UUvR95AW+7FDVzfnrCAVsLH3oCeBmgoCVEbCohbAWj1JYo61Fr+RkJ xc6w== X-Gm-Message-State: AOAM5309YJYlWB0HyI3t+EzL9kXBAXAl51b/r2nfb+jc89aV0FTZYj0i tUbI+T0zDenTZLN3tgqd5VtMVDqCbJhJ9wJDyIFVFAhpOiXyAA== X-Google-Smtp-Source: ABdhPJxP4fO6gLRqzt/Q92kPnCoZcor74an1mjWDILdDXwZpGigDrlMFtJHXjVry6mU9Xb0ux56aJ9U9guiNZkef2PE= X-Received: by 2002:a25:b00b:0:b0:664:2460:e244 with SMTP id q11-20020a25b00b000000b006642460e244mr2530522ybf.19.1654730622171; Wed, 08 Jun 2022 16:23:42 -0700 (PDT) MIME-Version: 1.0 References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> <87o7zbp4lr.fsf@gnu.org> In-Reply-To: <87o7zbp4lr.fsf@gnu.org> From: Nathan Dehnel Date: Wed, 8 Jun 2022 18:23:31 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >Could you be more specific? Specifically, could you share >/var/log/messages for the parts related to Wireguard? root@guixtest ~# cat /var/log/messages | grep -i wireguardJun 8 18:20:07 localhost vmunix: [ 6.330271] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. Jun 8 18:20:07 localhost vmunix: [ 6.330276] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. >However, the standard >service constructors/destructors no longer block, and shepherd can serve >multiple clients concurrently. I don't know, I guess wireguard uses "non-standard" constructors. On Thu, Jun 2, 2022 at 8:38 AM Ludovic Court=C3=A8s wrote: > > 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 wro= te: > > [...] > > >> One command sent to shepherd by =E2=80=98herd =E2=80=A6=E2=80=99 must = have 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= seconds, so the > >> second =E2=80=98herd=E2=80=99 command won=E2=80=99t print anything unt= il 3 seconds have passed. > > This is actually still the case with 0.9, because here we=E2=80=99re call= ing > (@ (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, th= e standard > service constructors/destructors no longer block, and shepherd can serve > multiple clients concurrently. > > Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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, 09 Jun 2022 15:06: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.165478711825443 (code B ref 53225); Thu, 09 Jun 2022 15:06:02 +0000 Received: (at 53225) by debbugs.gnu.org; 9 Jun 2022 15:05:18 +0000 Received: from localhost ([127.0.0.1]:47352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJin-0006cI-SM for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJik-0006c0-8p for 53225@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzJie-0004iT-QH; Thu, 09 Jun 2022 11:05:08 -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=McdPdPADJfadkq81XopQCOoDD9fVE/npeYBulANFSgI=; b=RSBHbd2MhIbLEUzDVelt rTXdYex+6jnzCcFdQ6bEvuINssAGlIxX66nSgQdr292YEOwKPW+6PMQlHsNHgw7rrKbgCmKtEqXvw JSPOdKIMojeWAmiYYTJPEtEZwGj6dvWbJkgdhzISbiSpqcC2TmaTGA5yRTXPg0RC8czJaPVUd2w3s Wl9xyWP8ZZ7kg6M/8R/hUwkFICfV8eLJlBJ0OgTBvTxgvcZXiAmk5kxRyAU/YaTYknm0/ppPj86xA LuQuhzPoX9HySifA9UOnUDl4mV+ZV+1pPdL7cAR2XXVDMehPbwfj6LAHc+isSj9iOAkDx53usmgmy UhCxC6goKwZIxg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53674 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzJid-00061v-1v; Thu, 09 Jun 2022 11:05:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> <87o7zbp4lr.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 21 Prairial an 230 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Barbeau 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, 09 Jun 2022 17:05:04 +0200 In-Reply-To: (Nathan Dehnel's message of "Wed, 8 Jun 2022 18:23:31 -0500") Message-ID: <87tu8t3mjj.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Nathan, Nathan Dehnel skribis: >>Could you be more specific? Specifically, could you share >>/var/log/messages for the parts related to Wireguard? > > root@guixtest ~# cat /var/log/messages | grep -i wireguardJun 8 > 18:20:07 localhost vmunix: [ 6.330271] wireguard: WireGuard 1.0.0 > loaded. See www.wireguard.com for information. > Jun 8 18:20:07 localhost vmunix: [ 6.330276] wireguard: Copyright > (C) 2015-2019 Jason A. Donenfeld . All Rights > Reserved. There should be lines like: shepherd[1]: Service 'wireguard-XXX' has been started. Perhaps they=E2=80=99ve been moved to a different files due to log rotation? Without these, I cannot tell what happened. >>However, the standard >>service constructors/destructors no longer block, and shepherd can serve >>multiple clients concurrently. > > I don't know, I guess wireguard uses "non-standard" constructors. Indeed, it invokes =E2=80=98wg-quick up=E2=80=99 and waits for completion. I suppose that command blocks until it has set up the VPN, right? If so, we=E2=80=99ll need to rewrite it differently. Thanks, Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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: Thu, 09 Jun 2022 15:50:01 +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.16547897666244 (code B ref 53225); Thu, 09 Jun 2022 15:50:01 +0000 Received: (at 53225) by debbugs.gnu.org; 9 Jun 2022 15:49:26 +0000 Received: from localhost ([127.0.0.1]:47449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzKPW-0001cd-2Z for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:49:26 -0400 Received: from mail-yb1-f176.google.com ([209.85.219.176]:46929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzKPU-0001cP-5l for 53225@debbugs.gnu.org; Thu, 09 Jun 2022 11:49:24 -0400 Received: by mail-yb1-f176.google.com with SMTP id r82so42399986ybc.13 for <53225@debbugs.gnu.org>; Thu, 09 Jun 2022 08:49:24 -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=REedAIoyxnAOttI8zQM9/Tp0VywMMnOHx2eLgjJpYes=; b=dslB67O4iZB1t5cjtqjT409IHjbk1bdsVzwMtzXIyuUh2Cfke8ZBi3jSJlaJUs3I46 Ft/iSY8goQwZRzbhS5vMMvnjeVily4wkEOOo2gnbUCjQYRYmTKNKZAJxRT9eFzFP9VDC dal4NL0uOlG1fnCrI5gezLt3WUabllZpDwGOMj2j4Bsw1NGZ9ozntOMiBk+owUgA6rLs mGjzZ878QsaO+kwWMODii0Ncy1M11Yi/ApkictzkToJi4xMwTO9waRynh78dn941g29d S4a0sKFOP7dGY8udqcbO3b815/CclhxHTttSbjdiQ93H3Hky2TmhlQAJR1GUcK/xLO/m RQGw== 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=REedAIoyxnAOttI8zQM9/Tp0VywMMnOHx2eLgjJpYes=; b=xbigdgA7KpX0VP2ZT7iAGHGm0HeYKQgaFNnhO2CPhNDgSNXPvz64WAGLmKjBUX+SGY /tvFOl7KN7hcgGCO06cM90ojFDf9/S4zQjqKZ82zU0EJJaJ9hJ3lpApiVYTfpPaZO9iK zoym0S+9KBKFx404kvtmKmkv/1qnlJcx/ijoyIpnNxGf56xdD8iU+FbvCRRlw+IrECNp ENuQBXPc+s58T2nazByig31gj9wiH+SSyYr9CIBBwcyNzCNZvtpyYH/VeXEwH2wL8U/y t38DWaY9inq25W5jodaupnd6KhEmoQ5/WXHKVuc++4C2sig3vS1UdKccGMtQsGUukTGh LZLg== X-Gm-Message-State: AOAM531gRGyt/P67xZmdX+yO4uIhxOClw2QNZfHg+P/NIY9ojMo+xO0/ uBV84toxgekgC9L0f+joueJrWbRMi38g+/aU+JXbm3Jp5Rz4Mg== X-Google-Smtp-Source: ABdhPJw+jwvfI2Q9KsvXqJkOe8wXJ2WdZLghMYJwd/6RNSCeXcrN2K33Hm4ujbZ52lKICOHHJuGDCMLUbMw2oKZrjGM= X-Received: by 2002:a25:69c4:0:b0:65c:ed2b:9106 with SMTP id e187-20020a2569c4000000b0065ced2b9106mr40329292ybc.394.1654789758484; Thu, 09 Jun 2022 08:49:18 -0700 (PDT) MIME-Version: 1.0 References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> <87o7zbp4lr.fsf@gnu.org> <87tu8t3mjj.fsf@gnu.org> In-Reply-To: <87tu8t3mjj.fsf@gnu.org> From: Nathan Dehnel Date: Thu, 9 Jun 2022 10:49:07 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >There should be lines like: > shepherd[1]: Service 'wireguard-XXX' has been started. >Perhaps they=E2=80=99ve been moved to a different files due to log rotatio= n? >Without these, I cannot tell what happened. I tried it again and found this Jun 9 10:47:44 localhost vmunix: [ 6.497581] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. Jun 9 10:47:44 localhost vmunix: [ 6.497584] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. Jun 9 10:47:44 localhost shepherd[1]: Failed to start wireguard-test in the background. On Thu, Jun 9, 2022 at 10:05 AM Ludovic Court=C3=A8s wrote: > > Hi Nathan, > > Nathan Dehnel skribis: > > >>Could you be more specific? Specifically, could you share > >>/var/log/messages for the parts related to Wireguard? > > > > root@guixtest ~# cat /var/log/messages | grep -i wireguardJun 8 > > 18:20:07 localhost vmunix: [ 6.330271] wireguard: WireGuard 1.0.0 > > loaded. See www.wireguard.com for information. > > Jun 8 18:20:07 localhost vmunix: [ 6.330276] wireguard: Copyright > > (C) 2015-2019 Jason A. Donenfeld . All Rights > > Reserved. > > There should be lines like: > > shepherd[1]: Service 'wireguard-XXX' has been started. > > Perhaps they=E2=80=99ve been moved to a different files due to log rotati= on? > > Without these, I cannot tell what happened. > > >>However, the standard > >>service constructors/destructors no longer block, and shepherd can serv= e > >>multiple clients concurrently. > > > > I don't know, I guess wireguard uses "non-standard" constructors. > > Indeed, it invokes =E2=80=98wg-quick up=E2=80=99 and waits for completion= . > > I suppose that command blocks until it has set up the VPN, right? > > If so, we=E2=80=99ll need to rewrite it differently. > > Thanks, > Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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, 09 Jun 2022 20:16:01 +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.165480571810248 (code B ref 53225); Thu, 09 Jun 2022 20:16:01 +0000 Received: (at 53225) by debbugs.gnu.org; 9 Jun 2022 20:15:18 +0000 Received: from localhost ([127.0.0.1]:47901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzOYo-0002fE-GF for submit@debbugs.gnu.org; Thu, 09 Jun 2022 16:15:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzOYm-0002ev-EM for 53225@debbugs.gnu.org; Thu, 09 Jun 2022 16:15:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzOYh-000659-3y; Thu, 09 Jun 2022 16:15:11 -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=sLWVwiWs5DsXiv/xromOPd+6Oq360jEtBq94DvYROjA=; b=mGdno3KHE7SpU4YT8GiD quYWcuWs6VsF9mh6omSwuth0b+wYWv38AcQECl0tcMDilcswx0L5ItVcciukwTPB9hRADhLBiOVnf /sfTxR6wsUDQC7msR+r0K+QqAeXko0s8QPAomgT1weU5tTMLHHCxI6GZ5huwdsxrQVh+oC6SOh0pa mVEg3/jP3kBME/JVficN2xy3fNSRM0cGItTRDYBLwZwzkUYAbkgkHk79ZNUuVsrH3HNCAFtu34TVP SzXn5kUVOEqtX4KmCQrbjNTp8+e9Ir6O5IScIrGBl7UIrfzgxCteMv4gCYgnCB4vnnmXSfugBb1sD 0NPhhwfsu6jMiA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51002 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzOYf-00014k-7Q; Thu, 09 Jun 2022 16:15:10 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> <87o7zbp4lr.fsf@gnu.org> <87tu8t3mjj.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 21 Prairial an 230 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Barbeau 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, 09 Jun 2022 22:15:06 +0200 In-Reply-To: (Nathan Dehnel's message of "Thu, 9 Jun 2022 10:49:07 -0500") Message-ID: <87k09p386t.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Nathan Dehnel skribis: > I tried it again and found this > Jun 9 10:47:44 localhost vmunix: [ 6.497581] wireguard: WireGuard > 1.0.0 loaded. See www.wireguard.com for information. > Jun 9 10:47:44 localhost vmunix: [ 6.497584] wireguard: Copyright > (C) 2015-2019 Jason A. Donenfeld . All Rights > Reserved. > Jun 9 10:47:44 localhost shepherd[1]: Failed to start wireguard-test > in the background. Could you provide me (privately if you prefer) the /var/log/messages sequence starting from boot (the line that reads =E2=80=9Csyslogd (GNU inet= utils 2.0): restart=E2=80=9D) up to the last line above? Thanks in advance, Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 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: Mon, 13 Jun 2022 09:32:01 +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: Guillaume Le Vaillant , Mathieu Othacehe , 53225@debbugs.gnu.org Received: via spool by 53225-submit@debbugs.gnu.org id=B53225.165511268922698 (code B ref 53225); Mon, 13 Jun 2022 09:32:01 +0000 Received: (at 53225) by debbugs.gnu.org; 13 Jun 2022 09:31:29 +0000 Received: from localhost ([127.0.0.1]:57273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0gPw-0005u2-V1 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 05:31:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0gPu-0005to-Ky for 53225@debbugs.gnu.org; Mon, 13 Jun 2022 05:31:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0gPp-0007aN-8I; Mon, 13 Jun 2022 05:31:21 -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=yNTv6iqHWV91IXVW7vawAF2cQRgVyw17PbJm9+iLYJU=; b=PTob12W48paZ4YY1/DMv v8kBegkBC6Mj7Kp2T78eRjUOspUeYFsRq4UM/khOO0wq1V6AZAVklY+lu6kdOD5RuLpfgLS5BfNJx 0HHv1TGamegkFHF5fQ3YoqlA7NhxDBrVUYCH2VponrADShlWaXU+xRv3siByf7w1D/tNOz6AeNbqW R9FC+PlmXPVvmwGEuxMCKqZ2N52caoj1hsUTbcOzbEeja2yIswX9EN14lAbSJoxZr6wFmUUuBcmV1 BKB8+hF0zgIaryIBxL5WPl7/yHP1ZCcKdiv+mGRizw8RBC4+1gRP3yEBdrbDzO0G4n9ctBlYCdB8L DYRxfHAxJtLhrg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53968 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0gPo-0006aA-PR; Mon, 13 Jun 2022 05:31:21 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmov7jrr.fsf@gnu.org> <87y23eo4lj.fsf@gnu.org> <87o7zbp4lr.fsf@gnu.org> <87tu8t3mjj.fsf@gnu.org> <87k09p386t.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 25 Prairial an 230 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Tanche 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: Mon, 13 Jun 2022 11:31:18 +0200 In-Reply-To: (Nathan Dehnel's message of "Sat, 11 Jun 2022 11:45:37 -0500") Message-ID: <87k09kucyh.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, The /var/log/messages excerpt you sent me has nothing beyond: > Jun 11 11:43:33 localhost shepherd[1]: Service networking has been starte= d. [=E2=80=A6] > Jun 11 11:43:33 localhost vmunix: [ 5.552395] wireguard: WireGuard > 1.0.0 loaded. See www.wireguard.com for information. > Jun 11 11:43:33 localhost vmunix: [ 5.552398] wireguard: Copyright > (C) 2015-2019 Jason A. Donenfeld . All Rights > Reserved. > Jun 11 11:43:33 localhost shepherd[1]: Failed to start wireguard-test > in the background. That there=E2=80=99s not a single error message from wireguard doesn=E2=80= =99t help. Mathieu, Guillaume: any idea what might prevent the wireguard Shepherd service from starting, or how we could gather debugging info? (Context: .) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 13:07:17 2022 Received: (at control) by debbugs.gnu.org; 12 Nov 2022 18:07:17 +0000 Received: from localhost ([127.0.0.1]:48958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuuS-0002ts-T8 for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:07:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuuR-0002tf-0V for control@debbugs.gnu.org; Sat, 12 Nov 2022 13:07:15 -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 1otuuL-0007VZ-PZ for control@debbugs.gnu.org; Sat, 12 Nov 2022 13:07:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=/EU0zf4CA8yIR4wUDx/jVS9KJvCWadNlUgo2PG0VH28=; b=kU07UDCfzY88U7 AY3ZviZwjwcumpgpk0SW2G9LtuMwUHRoMv5eYwCDVDCKbnK4+wLq81eLSYC7VE0H/QrKtZAraw0eJ W00sXaSmB4bbDt0Jil49B7EkCzTrJWOzPCUhKC60dbLceR5n/hUS2JYIh41Qrnpc0RVaffDl93PGX SMEEpoW9ZX6XXSz8G9UbnB937EQoi6yp0ESvuA1J6UcFN0vBgdJCaZrEAl4lg8treWMhxMCLhITmS m+xRZrAFKWQ17LfYj6akpX5Ns7wlHnAiNEDRQerIGvFKmzQMTdgOnHsJKCMR1aD7XY0U11bTO42Dx Azvl/Bub+92g9obsIu/w==; 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 1otuuL-0000MJ-CZ for control@debbugs.gnu.org; Sat, 12 Nov 2022 13:07:09 -0500 Date: Sat, 12 Nov 2022 19:07:07 +0100 Message-Id: <87fseocaic.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53225 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 53225 important quit From unknown Sat Jun 14 03:55:06 2025 X-Loop: help-debbugs@gnu.org 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-CC: bug-guix@gnu.org Resent-Date: Sat, 12 Nov 2022 18:12: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: Mathieu Othacehe Cc: 53225@debbugs.gnu.org, 58926@debbugs.gnu.org Received: via spool by 53225-submit@debbugs.gnu.org id=B53225.166827666611552 (code B ref 53225); Sat, 12 Nov 2022 18:12:02 +0000 Received: (at 53225) by debbugs.gnu.org; 12 Nov 2022 18:11:06 +0000 Received: from localhost ([127.0.0.1]:48971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuyA-00030F-4P for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:11:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otuy8-0002zJ-Au; Sat, 12 Nov 2022 13:11:04 -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 1otuy2-00080x-Vi; Sat, 12 Nov 2022 13:10:59 -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=QUfQPeQUVghV2I6WcVMRYa0zU6OP89RZlhYnFRr1rvY=; b=pLJnUbWtFdXxz16T1JGJ Y9jsW+DfehulC9+0oEgyEIKsO7Fr5+l4ic3bKZ4Ww3LOiTpJ1SspPA5jOg343DNsoPQcmGJN/4Rvh zezTe3M57DO8flVrXu+7jxdbOioaRERxGNUfhBedxx9w/9Pbt/co6ixZNB8t2vzwfjD/Zkcq/8bIl EAlSF4g8Jz9AXbCb95xcCTwNWMyZzfnhGyu0HYBiCe0LHaoZPncnF2It8fTb6DHSuCMPcl2k3TP++ DYrCYytbfjGi2Tfzd7cNn1X/GLmRzbNtNAQ+k4JMbIwbyYKEH41YZKj6n2c7g6Qliw/5qfh7wEbr6 ofxAzt+rR+Zpmg==; 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 1otuy2-0000ho-Cc; Sat, 12 Nov 2022 13:10:58 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a65cgo1t.fsf@gnu.org> Date: Sat, 12 Nov 2022 19:10:56 +0100 In-Reply-To: <87a65cgo1t.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 31 Oct 2022 13:44:46 +0100") Message-ID: <878rkgcabz.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 until = it succeeds and that =E2=80=98invoke=E2=80=99 gets stuck on =E2=80=98waitpid=E2=80=99 u= ntil the =E2=80=9Cwg-quick=E2=80=9D process terminates. The solution will be to use something non-blocking instead of =E2=80=98invo= ke=E2=80=99; I=E2=80=99m looking into it. Ludo=E2=80=99. From unknown Sat Jun 14 03:55:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nathan Dehnel Subject: bug#53225: closed (Re: bug#58926: Shepherd becomes unresponsive after an interrupt) Message-ID: References: <87a64pkhgy.fsf@gnu.org> X-Gnu-PR-Message: they-closed 53225 X-Gnu-PR-Package: guix Reply-To: 53225@debbugs.gnu.org Date: Thu, 17 Nov 2022 10:24:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1668680643-14148-1" This is a multi-part message in MIME format... ------------=_1668680643-14148-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #53225: shepherd freezes if wireguard is started with dns config enabled which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 53225@debbugs.gnu.org. --=20 53225: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53225 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1668680643-14148-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#58926: Shepherd becomes unresponsive after an interrupt 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=22'?= =?utf-8?Q?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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53225-done Cc: 53225-done@debbugs.gnu.org, 58926-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. ------------=_1668680643-14148-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Jan 2022 00:27:50 +0000 Received: from localhost ([127.0.0.1]:59457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7ny1-0005wK-Ul for submit@debbugs.gnu.org; Wed, 12 Jan 2022 19:27:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:52540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7nxz-0005wB-GW for submit@debbugs.gnu.org; Wed, 12 Jan 2022 19:27:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7nxz-0001Az-9c for bug-guix@gnu.org; Wed, 12 Jan 2022 19:27:47 -0500 Received: from [2607:f8b0:4864:20::b36] (port=46697 helo=mail-yb1-xb36.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7nxp-00054h-BY for bug-guix@gnu.org; Wed, 12 Jan 2022 19:27:38 -0500 Received: by mail-yb1-xb36.google.com with SMTP id p5so10280189ybd.13 for ; Wed, 12 Jan 2022 16:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=2iem4Uf5OAETtW6x8KWPyFT0Jwnirh35Ya5nEiMNm8E=; b=AvCg20Q7rvyu3TPForjpRB6xGBcijvc4R96q3D6gG3dCMwWB1oVSD1xY5deyjpGGsw 439DakywQvtVVdUkpJnWf/dpwvPlb8cDBljdf2OLMcqW4SIexgLaq6xRoA3PsYPijtIj wY1I0XfTJ1j+81M4921kp07Js8x28ZmQ5aEjiyzQzhoj+fgfi73Yk2l4iAZFGt8+qcan VWvapqvcc4zxp4gVBHz1dgeirEKX62yX+NTCDQxxzFl8uNzlk3dUNylj/m+/sKpBwH3v LCozDr00bKV44GCH/mt6UbnTMNmFtE7oG46RkZYmHwBswoD8nVJh/Bx7KVMME5BatCXb M+wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2iem4Uf5OAETtW6x8KWPyFT0Jwnirh35Ya5nEiMNm8E=; b=oMV/tsTj+bRIGiPa5XnJdlMExPaKA+qWFLOtwYmJqsWVjBFRYuj2zu6LzhNBLQPWwZ OpEaJDls9GiFZgq3PelkkRIbD1KSCT0shgZohZn7FJ2WL+41s2xjmiw45EzCbvjfucFm IjxazaSqZqGBoCruXog+++ureJJhpc5wCngqaZngSaeyjIDy6vfFOY7Iw1iqZ3SvQwT1 jHBKpBKayUaYAX2/Irpa9Yji9in5j2F5J8ckqPfaaT4Ve2z5KdDXaDPbhxPafdC+vxM3 ArqFbX/gFHInnZwNBzR2pkhGChgCw9r7/ID1+ZYC8ilVp7B/ORgOKfITMq4OJx5tg+pF iNTg== X-Gm-Message-State: AOAM530nDG5+ijNI+uWJO30qwqjolg8757bzEUq65cWA2mgIa4dmrC3l ggMJUmxwW3MF3Zu1ceR9gpULgvSViT4o7opTPhbtwC1BuN8= X-Google-Smtp-Source: ABdhPJyBS0ztRm7xMCbsQar2a7LK0fgvYpQ33QlemuWyM2RQ/AFP9dP+onNvMfOlCa3ip/Bz0S24dA3MWNWkHIFicWQ= X-Received: by 2002:a25:409:: with SMTP id 9mr3073187ybe.456.1642033655663; Wed, 12 Jan 2022 16:27:35 -0800 (PST) MIME-Version: 1.0 From: Nathan Dehnel Date: Wed, 12 Jan 2022 18:27:24 -0600 Message-ID: Subject: shepherd freezes if wireguard is started with dns config enabled To: Tobias Geerinckx-Rice via Bug reports for GNU Guix Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b36 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b36; envelope-from=ncdehnel@gmail.com; helo=mail-yb1-xb36.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When dns is specified, wireguard runs wg-quick, which runs resolvconf, which runs /run/current-system/profile/bin/herd restart, which causes shepherd to freeze because I guess it doesn't like being given multiple start commands at once. I'm not sure how to fix it. ------------=_1668680643-14148-1--