From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3AA11581D3 for ; Thu, 23 May 2024 18:12:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B057EE29E2; Thu, 23 May 2024 18:12:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91F85E29E2 for ; Thu, 23 May 2024 18:12:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1186341C4B for ; Thu, 23 May 2024 18:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B8471A2E for ; Thu, 23 May 2024 18:12:23 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1716487933.8bb61b90c1d791bafd5cd0b6c54093cccee425f4.chutzpah@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/wireguard.sh X-VCS-Directories: net/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 8bb61b90c1d791bafd5cd0b6c54093cccee425f4 X-VCS-Branch: master Date: Thu, 23 May 2024 18:12:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3355e82-7272-41d2-89cd-f009e03e9b2d X-Archives-Hash: b6ad516d5b27b2f25dba04d6690c9bc0 commit: 8bb61b90c1d791bafd5cd0b6c54093cccee425f4 Author: Alexander Zubkov qrator net> AuthorDate: Thu May 23 14:56:42 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu May 23 18:12:13 2024 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=8bb61b90 net/wireguard.sh: make wireguard module to run before interface Wireguard module was configured to run after interface module, that caused interface-related settings like mtu not to apply, because wireguard interfaces was not present by that time. It seems logical that wireguard module should be run before interface module. Credits to lmk gmail.com> who proposed the solution and to Louis Sautier (sbraz) gentoo.org> who proposed the patch. Closes: https://bugs.gentoo.org/678184 Closes: https://github.com/gentoo/netifrc/pull/54 Signed-off-by: Louis Sautier (sbraz) gentoo.org> Signed-off-by: Alexander Zubkov qrator.net> Signed-off-by: Patrick McLean gentoo.org> net/wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireguard.sh b/net/wireguard.sh index bb71d6f..f6ca69e 100644 --- a/net/wireguard.sh +++ b/net/wireguard.sh @@ -6,7 +6,7 @@ wireguard_depend() { program wg - after interface + before interface } wireguard_pre_start()