From nobody Wed Apr 12 15:26:28 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PxRRX0FNSz44xgk for ; Wed, 12 Apr 2023 15:27:52 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Received: from keymaster.home (ns1.xn--wesstrm-f1a.se [81.4.102.176]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "keymaster.home", Issuer "keymaster.home" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PxRRV3lgWz4Nsf for ; Wed, 12 Apr 2023 15:27:50 +0000 (UTC) (envelope-from freebsd-database@pp.dyndns.biz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of freebsd-database@pp.dyndns.biz has no SPF policy when checking 81.4.102.176) smtp.mailfrom=freebsd-database@pp.dyndns.biz; dmarc=none Received: from [192.168.254.0] ([192.168.254.0]) by keymaster.home (8.16.1/8.16.1) with ESMTP id 33CFQTGT019722 for ; Wed, 12 Apr 2023 17:26:29 +0200 (CEST) (envelope-from freebsd-database@pp.dyndns.biz) Message-ID: <05ba770b-cd03-2ee9-3b3c-8dfcd1ea4fdc@pp.dyndns.biz> Date: Wed, 12 Apr 2023 17:26:28 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-GB To: FreeBSD Questions From: =?UTF-8?Q?Morgan_Wesstr=c3=b6m?= Subject: What is the proper way to handle the wireguard module now that it's part of the base system? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [2.96 / 15.00]; HFILTER_HELO_IP_A(1.00)[keymaster.home]; SUBJECT_ENDS_QUESTION(1.00)[]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.987]; NEURAL_HAM_LONG(-0.88)[-0.877]; NEURAL_HAM_SHORT(-0.35)[-0.352]; HFILTER_HELO_NORES_A_OR_MX(0.30)[keymaster.home]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:198203, ipnet:81.4.100.0/22, country:NL]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[pp.dyndns.biz]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PxRRV3lgWz4Nsf X-Spamd-Bar: ++ X-ThisMailContainsUnwantedMimeParts: N I just upgraded to FreeBSD 13.2-RELEASE and made sure to deinstall the net/wireguard-kmod package before I rebooted. I had to force deinstall it since it's still a dependency to net/wireguard. No problems though - VPN-tunnel is up with the base kernel module and seems to be working just fine. A few questions though: 1) What happens if there are two identically named modules on the system - one in /boot/kernel and the other in /boot/modules? Which one gets priority and can this be controlled? 2) Depending on the answer to question 1, should I perhaps have left net/wireguard-kmod in place? If not, shouldn't there be a check in the Makefile for net/wireguard so it doesn't pull in net/wireguard-kmod as a dependency on FreeBSD 13.2? Regards Morgan Wesström