From nobody Wed Oct 11 18:45:16 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 4S5MCK70hqz4wXRH for ; Wed, 11 Oct 2023 18:45: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 4S5MCK60MTz4Ypv for ; Wed, 11 Oct 2023 18:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697049917; a=rsa-sha256; cv=none; b=EUDul8d4FNI3DsctjmeTmYFADuZWwTzIFLIFC6dvkUYtKQmcN9GrythvYykeaUUOudvJBY Fzz6ZfTXY4sildJMbTtmgSfy2wdvLMfGELE78KXIeycKIgC6TR4iwkOz0KzOjr4yzPt3Rb 2RQKXuof9wUL1zaupq+SJsgoXkBLRCI7/OB5Mr0PWKvBcZrlcffvbaDABLSqvBifmAVaGh VFKxWYyw8SY6B4GjG6BATrS7DqN90FZvBynRBj9unZE7Y+YYyPwhmKKeW2xGSK44arV2vZ oLugVpU78Go6HIEeTfRiZ1SQONLYUD1YTVDNwDs1rfmXfHD7yOnv+C1dnBYmGg== 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=1697049917; 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=qX1BKmm9jN68N/CasT2DAA89AiFIyBpeZ7AfbdGCJuM=; b=nZtzIWqxlVNwdaOvoWyMDa4YtW0ZNtgv8lvFYDJJBM4FlHh2YYGGe5OdIQyAJE+PW74gEo XoiEIIt3ZR4upu5PJ9izzhRKZcjQJ1IBGgcCmRtTW58ireYEh7gV0ClaCLjJjd2d8Wd6kF 6/PY2MT8voLuQyzW8rdxQUSatNoqgzSdiPcF1Tv0xWSPhVfhOn6ehUJHGy9moLdclCYsLJ e9mK141YdJQjPF4junH121R56AlUQSuzWpV7WuaM9WMIyQscpPZveL1blBpVIc8aLZJjLX ZpjCabZyAWAnpmsmxmS+Jgcej1JQbA/3/VYg6VL2o4XWbBhNY+RCPs1Dor9IMw== 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 4S5MCK52wFzYJq for ; Wed, 11 Oct 2023 18:45: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 39BIjHce026060 for ; Wed, 11 Oct 2023 18:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39BIjHaU026059 for virtualization@FreeBSD.org; Wed, 11 Oct 2023 18:45:17 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: virtualization@FreeBSD.org Subject: [Bug 273557] Regression preventing bhyve from running inside a jail without IP after f74147e26999838e03a522bf59ea33bef470d356) breaks support for jailing bhyve with IPv4 and IPv6 disabled. Patch included. Date: Wed, 11 Oct 2023 18:45:16 +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, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@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: cc 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 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #12 from Mark Johnston --- I think I agree with the proposed patch to use VMIO_SIOCSIFFLAGS. Even if = IP is disabled on the jail, tap is an L2 device. The fact that we have to use= an IP socket to configure the interface is bizarre; this overloading of socket= s is also problematic for capsicum. OTOH, I think we can configure IFF_UP with any kind of socket, no? We could use a PF_ROUTE or PF_NETLINK socket instead. I don't think netlink itself = buys us anything here, ifconfig still uses socket ioctls to set interface flags.= =20 One other reason to avoid VMIO_SIOCSIFFLAGS is that it's really just there = for vmnet(4) compatibility, I believe. --=20 You are receiving this mail because: You are the assignee for the bug.=