From nobody Tue Sep 12 17:19:55 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 4RlVhC2pRJz4tC5P for ; Tue, 12 Sep 2023 17:19:55 +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 4RlVhC0zh2z4Kkh for ; Tue, 12 Sep 2023 17:19:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694539195; a=rsa-sha256; cv=none; b=X6uzCFElsWwZvWOle218kLdsYB5ohKCnTWLp+s/uoBH5zDzPJkXFPnDMcL6xG5AnNwzgjc T7lq0iP+fwwW+PEfqEPKw/tofilWgzK3jPImKkg6BcLL7/6VRzXLm6FSOL2GVcyIUg69Sg Zm+zdX+6Iq/iB3aWuo5YnEtThnadr9SzM5jSuTSEE116VauGkxwLcZv4V9ADgLs959DA3o Pm0V+kR7KFhw9IjcWLw+Z3MxmEi3VCz/NhkjE2XWaNG7g5mUhwoXX+iB8v4iYuANtnnKK7 waEm5PmD6Dhs9QaOrhwtWdkwSOYiEjmyjz1Yry+e6KZ6PCe0HHjagpPBHxYaGA== 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=1694539195; 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=ifsqxkCrj/UNJXGPYylhvwp+D6nGE0seOCoPhyKnucs=; b=UfC4RIuI2lb7FY0XhvO2Irc5fzBNSH9mbIF+gKtcd7IyhFKrZgaNFyIbuWbO9RleXs/MR9 FWuSXLhUVbfk9J3phNAn9o/snhzpi+3z32p68zF20aW/rnbNWQAo60JHmXyut0NcEr1t/j cUxUjd0jccVSjOoqpg/P9vGCKTfi+sOL68QHSExdtzIsOlJeYigqJ8eARXCcVPZ2OpaN7C 309NXpcYtiSbzfGyq02+CdhYfiYVakXbK33QL72P7u1W/58zGFfKpYoHfAozS5OV/1MscV SQMKpfFZDB/DNIQ/AAdUEyc6PrpzfIzpluISsEvgqVtF2z/5TW5xRr1lQSjFEg== 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 4RlVhC04jGzgtY for ; Tue, 12 Sep 2023 17:19:55 +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 38CHJsQB098372 for ; Tue, 12 Sep 2023 17:19:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38CHJsT5098371 for virtualization@FreeBSD.org; Tue, 12 Sep 2023 17:19:54 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: Tue, 12 Sep 2023 17:19:55 +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: bz@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 #10 from Bjoern A. Zeeb --- (In reply to crest from comment #9) I wont' be at Euro. You can find some bhyve or networking or jails people = and see. I see talks on all thee subjects. The real question however (and I hinted at that when I asked) is why a privileged operation on a networking device is allowed in first place insid= e an IP-based (or a non-IP) jail. I assume for tun/tap the idea was that you n= eed the device node and that needs manual intervention already? Another thing I hinted before was netlink; one should check how ifconfig currently does and IFF_UP maybe in a new netlink world. That may possibly avoid the IP sockets proper. I believe you'll find the netlink expert at E= uro as well. --=20 You are receiving this mail because: You are the assignee for the bug.=