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 QMcLODgromIxEgEAbAwnHQ (envelope-from ) for ; Thu, 09 Jun 2022 19:17:44 +0200 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 eIP5NzgromK3NQEAauVa8A (envelope-from ) for ; Thu, 09 Jun 2022 19:17:44 +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 9E24D2914 for ; Thu, 9 Jun 2022 19:17:44 +0200 (CEST) Received: from localhost ([::1]:41162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzLQh-0007Fa-LP for larch@yhetil.org; Thu, 09 Jun 2022 12:54:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzKQ7-00065l-5j for bug-guix@gnu.org; Thu, 09 Jun 2022 11:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzKQ5-00050e-LM for bug-guix@gnu.org; Thu, 09 Jun 2022 11:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzKQ5-0001dc-Iu for bug-guix@gnu.org; Thu, 09 Jun 2022 11:50:01 -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: 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-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=1654795064; 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=REedAIoyxnAOttI8zQM9/Tp0VywMMnOHx2eLgjJpYes=; b=Kg+bG8kLjzZQGkkWyadKKyjPypHEqmZYF2KPOtNV5nkwRZuY3TXwm/dRiEhcGq6/fsXUnr n/MlHQdFybeqIT3Ms1jpXjB7akuJy+1r37RATPjHJfQgp+IUNaYJg+Jz9WFLPSdvUFyzoP Q3GTGbjQe9XYLZ6jQT5cdORQLokHWAhgss5AEh/MeCg/zde//NsNlBZSJqgB1vDdsAWnG5 01LkPanfcNDZ6Ia9EE9rfh3/A+q0APcoBOvarmYn94F1keRpDR+iBf5a1VZB4mWLPUruv9 ASWKMrfCvTUGNboDdY9cAQ2FaXCbuj+kkRgOjLUOhsZymgfGgTs+396vUI+aiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654795064; a=rsa-sha256; cv=none; b=WtSXyYgPf7v7OCNCWQU8DaN/b161EIqNQSHyhTeuxypuxqMzr070eXqQKr3ho0NMoDiloP T9um7swH6S+QSLTvgvstSHqH6u1TWcIp+rAYwTDUamnPALjwdiPGl3BXQbkY89oG3Jo2L2 74DgpaGWFj6MepAqQKXHKEI24whdL22yWmGy8RFTYmufxF3VzplCU5/nIQNvscWjJiJ73a drxSEsORgYzEl4j7KtnudXt/oSo6zhpZyCB/brKK0CBZHuxlWfOpQN/+C6UyponP3XHkn+ 6Tk43qwJ8H7BRLna6xHvyz1YHM0HR9UXJPbUEnRQAzVfFn+Et7W5xpfai2PG3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dslB67O4; 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: 7.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dslB67O4; 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: 9E24D2914 X-Spam-Score: 7.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: X6Uj6qKpZZNP >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.