From nobody Tue Oct 24 13:38:17 2023 X-Original-To: virtualization@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 4SFCn54r2pz4y3mQ for ; Tue, 24 Oct 2023 13:38:17 +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 4SFCn52HBZz4Yw1 for ; Tue, 24 Oct 2023 13:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698154697; a=rsa-sha256; cv=none; b=V5qVK9t2X7s48GrUpqsC94BHjNr/hVQa0jl2hDBl/DlVLzXw9SoG/2ITcIm2B+mP3FHTbp xqgPHIye7KNyw5511Q1JSIK5UVDDKytn94sRecQtkQodGo/kUXyx5ZjwPE1/St7VhSTnFM eMOhHm11EdtRiTYLBUDHEAy323aofeOEuO4Rfksw2H9aLj95Tj9aTL3wU3MxfNlnba7fJZ eLfJYqbpDdzKOEF4rXY/Sn4tFDsO/OcXYKgxDJZC40/JUZzooxAry82Kypf9hu8N0x0uU5 z5tAo3g55GI+qIlc7GzLvSAp7bkOfNcCxAhaapLssCxt5j8eoSvM3Ajouie/rg== 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=1698154697; 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: in-reply-to:in-reply-to:references:references; bh=S4yf4IcfHmOHnaeOUoZfY5fmCEklijOyf/zIRWnko4Q=; b=IGU0OR1e1u+PyQ01C/3D2ek9EWEI73C8upTNxagdBVh/t2QxNGvPg3FZvor/DXyxPamdfC Kt2gUq5PNhohENJGnk8nS3T/iMJY+6uGfxgtLOHwe4SehaZXHonp5NL0pfNmuoAOi+O6cx ZMYAyRequPC2VFCU7+Mcn9Bt88M3u81cRgk9nO8O+Jxov99baKpyyPQFY7iQW5PWf3sROK 61nFnLyT/WSF6GK1wHb+MXPiGf2H1o3PVMkDumPCfC4kv0DU0KCBwdUefiKu/rflIaG7/Q cSLgg+hgA+3JZewV9uLQC2VtSeYnq+77yYnIEDfwRESKZKU2YE2so4BrCOn5lg== 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 4SFCn51MxTz99S for ; Tue, 24 Oct 2023 13:38:17 +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 39ODcHTn035333 for ; Tue, 24 Oct 2023 13:38:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39ODcH2w035332 for virtualization@FreeBSD.org; Tue, 24 Oct 2023 13:38:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999, breaks support for jailing bhyve with IPv4 and IPv6 disabled Date: Tue, 24 Oct 2023 13:38:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, easy, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273557 --- Comment #19 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbc6372602a0042e5496d9ab6637558f98= af0deef commit bc6372602a0042e5496d9ab6637558f98af0deef Author: Jan Bramkamp AuthorDate: 2023-09-04 08:38:25 +0000 Commit: Mark Johnston CommitDate: 2023-10-24 13:21:26 +0000 bhyve: Use VMIO_SIOCSIFFLAGS instead of SIOCGIFFLAGS Creating an IP socket to invoke the SIOCGIFFLAGS ioctl on is the only thing preventing bhyve from working inside a bhyve jail with IPv4 and IPv6 disabled restricting the jailed bhyve process to only access the host network via a tap/vmnet device node. PR: 273557 Fixes: 56be282bc999 ("bhyve: net_backends, automatically IFF_UP tap devices") Reviewed by: markj MFC after: 1 week (cherry picked from commit fd8b9c73a5a63a7aa438a73951d7a535b4f25d9a) usr.sbin/bhyve/net_backends.c | 52 ++++-----------------------------------= ---- 1 file changed, 4 insertions(+), 48 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=