Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 13:38:17 +0000
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
Message-ID:  <bug-273557-27103-5v4Kmv54Vn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273557-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273557-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <crest+freebsd@rlwinm.de>
AuthorDate: 2023-09-04 08:38:25 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273557-27103-5v4Kmv54Vn>