From unknown Sat Jun 14 03:58:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54398: Adding network-manager-openvpn requires a full reboot Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Mar 2022 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54398 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54398@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.164735786631214 (code B ref -1); Tue, 15 Mar 2022 15:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2022 15:24:26 +0000 Received: from localhost ([127.0.0.1]:49343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU92A-00087O-Ci for submit@debbugs.gnu.org; Tue, 15 Mar 2022 11:24:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:35946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nU929-00087H-Uq for submit@debbugs.gnu.org; Tue, 15 Mar 2022 11:24:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU929-0004Ya-1S for bug-guix@gnu.org; Tue, 15 Mar 2022 11:24:25 -0400 Received: from [2607:f8b0:4864:20::72f] (port=33553 helo=mail-qk1-x72f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nU926-0008Oa-1R for bug-guix@gnu.org; Tue, 15 Mar 2022 11:24:24 -0400 Received: by mail-qk1-x72f.google.com with SMTP id k125so10364361qkf.0 for ; Tue, 15 Mar 2022 08:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=y0f+oep5mDizz2npcgPLM8XWeMeAoEU+54Oml8ec7wo=; b=e2URhBr6UcsrFSwMlu8NrsZCZvr3cwiySnwICub2409mK6xUYtw7DKxKHmAlRmCBib RMccNcWwcKGR/zPIUZyC9hSkQyEzSM2g1ElIPo6yVh2MRpTyfbgtxpXhXWZLawpElTRG gRmPgHCYsfbDOVTYUlufnfr4Nbh/JjeMtrgykS+xT2B883iK9Bs/4FyXCaL/QDectGHT 58QWbhap31tSBVDlcXYpwpf1P71u3LgrWwgqEFl44hbl1E3Tw+fakKOuE1vRQEFfsZeZ LJAbxVdzvVmppUBMazvpechHH0/QXV25w0MFerjTMHmya7n5vkg86cwZ/C0VVXH+0g/X 7ozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=y0f+oep5mDizz2npcgPLM8XWeMeAoEU+54Oml8ec7wo=; b=QegZRA60jy1rScaq4U8DEWPkmEd0rSdtqGjw/SdxlVxnyceHTGjs2gQm+JJKm+anm5 w/O87dOH2k1iEIpcEGSQZ8WYjHH56x0jo/fSxcxMJ5bFft7xtD7/u6QsT3USUgrjSVWM JFLRfYyortFwpDeMgYqBJ6yCO5ea+k+1RtPwgAfDa38NciMGg2cDklJElKvrFRYotdW7 aJHHrUfBRhOvfSLM2IbbAoMsGfk9Pkkbzru0cI8m2NrnNt4MbF3Ia2JO/bzFLFjyXxgW +e3g0ZHauCn5cSLkTwFwVWCBmEdNvYbArPDhDmprZk8wc8nIR9SM07feosXjFJnP7cYg gXzw== X-Gm-Message-State: AOAM5335XAWh92DbgLjBY6XZq+rqkJ+ZmQ6tlx5oHM5uA2sfGEEnqUJm ewc8KGDW4Or/C5OvqEcR+jGAUwC/FKw= X-Google-Smtp-Source: ABdhPJxPYBQWgy0inbWMH6zTNmgInpqsMSttE7ZFSjlGiMgU/dFZR1OgViXG4aLbycte55diS9zrxA== X-Received: by 2002:a05:620a:44c1:b0:67d:35de:bb57 with SMTP id y1-20020a05620a44c100b0067d35debb57mr18772956qkp.672.1647357860842; Tue, 15 Mar 2022 08:24:20 -0700 (PDT) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id m3-20020a05622a118300b002e1beed4908sm8682764qtk.3.2022.03.15.08.24.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Mar 2022 08:24:20 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 15 Mar 2022 11:24:19 -0400 Message-ID: <87sfrjck7w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::72f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72f.google.com X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: -2.3 (--) Hello Guix, I've been bitten by this before, and again this morning, so I'm reporting this behavior as a bug. The struggle looks a bit like this: 1. Add the 'network-manager-openvpn' plugin to your 'network-manager-configuration', like so: --8<---------------cut here---------------start------------->8--- (modify-services %desktop-services [...] (network-manager-service-type config => (network-manager-configuration (inherit config) (vpn-plugins (list network-manager-openvpn)))) --8<---------------cut here---------------end--------------->8--- 2. 'guix system reconfigure' your system with the change 3. Try configuring/importing an OpenVPN connection; it fails because the plugin hasn't yet been made available. 4. Restart the networking service and relogin. 5. Now it seems to be functional, but the connection fails to be established, with a timeout error. 6. Reboot the machine. 7. Try again: it now works. Thanks, Maxim From unknown Sat Jun 14 03:58:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54398: Adding network-manager-openvpn requires a full reboot Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Mar 2022 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54398 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 54398@debbugs.gnu.org Received: via spool by 54398-submit@debbugs.gnu.org id=B54398.164736192614669 (code B ref 54398); Tue, 15 Mar 2022 16:33:02 +0000 Received: (at 54398) by debbugs.gnu.org; 15 Mar 2022 16:32:06 +0000 Received: from localhost ([127.0.0.1]:49461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUA5d-0003oX-QY for submit@debbugs.gnu.org; Tue, 15 Mar 2022 12:32:05 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:60094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUA5b-0003oM-Ht for 54398@debbugs.gnu.org; Tue, 15 Mar 2022 12:32:04 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id 6gY12700d4UW6Th06gY1fk; Tue, 15 Mar 2022 17:32:02 +0100 Message-ID: <146ed7e23e6473d2e00ad7c0cea7f5fc43843051.camel@telenet.be> From: Maxime Devos Date: Tue, 15 Mar 2022 17:32:01 +0100 In-Reply-To: <87sfrjck7w.fsf@gmail.com> References: <87sfrjck7w.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aiLScdCeRhDiIBAV2M3A" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1647361922; bh=eJL/6RkbEpmzQa6XW8IXXXZMa96IQtYoTVVdLJ1h7Uw=; h=Subject:From:To:Date:In-Reply-To:References; b=ci2EN811mRcSXlSOVAF72loXV3E7u2oZqetsisbnKTnGpTHffMCUqiDZpslrw0aAR dDjjERfycOqNfDY28lLyAOyBY1fMQVHrJyUNWk5KdldZe0tdioThu6Meq2/9t1hBTv tOy8LxrXx5/BIMtx8gpXe2i0VD7Dhr/ljrkfg+D9YHtwsw/C1B0wf1eUHuLTtKTdy7 UU8wH0cXRDMnBnCcLlDWNaXr26DdLc65ATgTP8Ne8vSwcX0iX6oBMatZxvQj4szaYc qCgxBINyiRlD4KwFQyuKG/zsiCm9swh1PZvwnCUGbBdV8IT5cbD7RYXYXTusQ6hl6E AvVbWBG2WexnA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-aiLScdCeRhDiIBAV2M3A Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxim Cournoyer schreef op di 15-03-2022 om 11:24 [-0400]: > 1. Add the 'network-manager-openvpn' plugin to your > 'network-manager-configuration', like so: >=20 > --8<---------------cut here---------------start------------->8--- > (modify-services %desktop-services > =C2=A0[...] > =C2=A0(network-manager-service-type config =3D> > =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (network-manager-configuration > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inherit config) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (vpn-plugins (list network-= manager-openvpn)))) > --8<---------------cut here---------------end--------------->8--- Looking at 'network-manager-environment' (define network-manager-environment (match-lambda (($ network-manager dns vpn- plugins) ;; Define this variable in the global environment such that ;; "nmcli connection import type openvpn file foo.ovpn" works. `(("NM_VPN_PLUGIN_DIR" . ,(file-append (vpn-plugin-directory vpn-plugins) "/lib/NetworkManager/VPN")))))), I expect a potential issue to be that NM_VPN_PLUGIN_DIR is a /gnu/store/... file name and hence the plugins in there are not adjusted by a reconfiguration. Maybe it could instead refer to somewhere in /run/current-system/...? Greetings, Maxime. --=-aiLScdCeRhDiIBAV2M3A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjC/gRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rAAAQCLl5IW7hMfSAfvtElESDi8j9zN 4UF1Tuau1aEfp7YLtgD/UQFT6s5rs0ETIC7Ju9bSMgA3UZRzn1zuv4kc5xsJFwg= =IEeE -----END PGP SIGNATURE----- --=-aiLScdCeRhDiIBAV2M3A--