From nobody Thu Oct 12 11:38:54 2023 X-Original-To: ports-bugs@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 4S5nht2qPrz4wDRD for ; Thu, 12 Oct 2023 11:38:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5nht0ljMz3f1Q for ; Thu, 12 Oct 2023 11:38:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697110734; a=rsa-sha256; cv=none; b=YYKoR1noOpKomSN8QxMpp247kBncsgnjHTE09wOegh9uAjS/Gozv7yCpOOpdABQDUkxakQ M07w8D+Zj+sA92OEKVzf4iKnAGAKkb86NrvfDzFInlUvjWgZCUBkBZAYkwU3q0I+W3J4hX gIgHmTyJ/+eWvTeUBHxX9oZmNMky0lVdENCJ4wtkdDHcML/sHYE8mkk5OD8CX5PNF2ztPm jFLiTf19E0pBO/iYhgbZhPUtfM7hvifLxoL50RWSqgxx3+IVwuGaUi38pYvnacAlZ5Jgue bIQ3LQhFLgXPDqunzcXm22AOuJ953Vn8WGMuUoE1I/hsnTW2yo1s+mYMSTtRKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697110734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kZ2Tz57GxNidvRD/4xr1ke5sadhseIL5VvSbxeU7uto=; b=Ze3PPl647ruBOFKTdGZa7t0erhFcGtQIn++OQetEGNn52LsuZihGJH1j/olTDvHBcEGqpx EdFySvHoKkhktkeyCimBnACvjIDLKygezx7Mos12F0GTwe4/wz2KoEvWm+QFV+j5a0oiFr d+VCJjgGeJfKvU5Y7NLLVJJ2D3O63kHlJJZPEVTqDFj+5cq5JYZ9vdk+dCDo+cvNUShVce vq0B9p8eM3KzieyOzJx7UWFwsXt27s9Ezow16+9fL3vVv6+XXbXV0YT8prnjRKRbwBVPKt 7KpQXPNDRSSBMWO3rnO6a6N8yJ3fDU0wQEzuCeyG5WQy59q2X++sBGB7JTNm0g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5nhs6y2sz12j0 for ; Thu, 12 Oct 2023 11:38:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CBcrVc012182 for ; Thu, 12 Oct 2023 11:38:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CBcrIH012181 for ports-bugs@FreeBSD.org; Thu, 12 Oct 2023 11:38:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274428] net/wireguard-tools: host service restart kldunloads if_wg, taking it away from VNET jails Date: Thu, 12 Oct 2023 11:38:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vedad@kajtaz.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: decke@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274428 Bug ID: 274428 Summary: net/wireguard-tools: host service restart kldunloads if_wg, taking it away from VNET jails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: decke@FreeBSD.org Reporter: vedad@kajtaz.net Assignee: decke@FreeBSD.org Flags: maintainer-feedback?(decke@FreeBSD.org) Hello, Under a setup where wireguard is being used both on the host system and VNET jails, doing a `service wireguard stop` or `service wireguard restart` on t= he host system unconditionally kldunload's if_wg, thus taking away wireguard tunnels from jails (the interfaces simply disappear from jails), requiring a manual wireguard restart in jails (as long as if_wg is loaded). On my own systems, i have simply commented the kldunload bit from the host = rc.d script as a workaround, but that's obviously not the right approach for the port. I actually don't know what the right approach would be. Perhaps an rcvar setting could be introduced to prevent the kldunload? Thanks, Kind regards --=20 You are receiving this mail because: You are the assignee for the bug.=