From nobody Thu Sep 7 14:33: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 4RhMDG3Xscz4sdCB for ; Thu, 7 Sep 2023 14:33:18 +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 4RhMDF2gFzz4dld for ; Thu, 7 Sep 2023 14:33:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694097197; a=rsa-sha256; cv=none; b=XBSv/fV6/x161dwEgx9wEVUpxQulOeT7rNS4Gi3Z5TE7DB0s/NNXMu9sNAg43fB2AaU7X4 aBAu01rnvcm3i951vlk7bjnFq1iCcYPOnruzWNJWYZcUvDPT7Vx+qYHI+Kj6H02+SBJdtH vNcOconwjI6XGHSR140yXBbwpDMukygNQ4dxFMU9HzsKSyppDQMbdzqqsBnMZybabnG9aV 0zUAPIURI5j+AJvpuirqWCcYPXQai7T58J/v+1fsq/ytGWPrCZNloH33awQ+0z6RuFLVXx QQohkIssvhgpBNB+2Rvfd+9j+zhkNaPFTVRemqm+rvx5OfBtTLM+hOyBklGo3Q== 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=1694097197; 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=NIKKBr4YjoTUvkiOkk7aq3hmBnAPiOEFEvpjL8/Map8=; b=RkD6uZP0Mr8xt1eTi0Y3LLmCvSzAgauLxb86XFtehG1Fzyt4qNLRr0svAaWKHYVmoAm91E ticzsuZWu6EI8WQusgCPUlr2ipbxN0Wu0VLVjn7Esc/+i67fa7h5sv5z491XFr7FC7ToNO VIDjqDftDDQW4l1COJ54fSCxMuC7JAqshjYd7DV+DhuX/KE4kOc4xC0Up+9Fa8t7fXtO// iRnLGhkOnSTruzTKsopVNCcuD01aka511ov2dGkU9w2Q/sZMPVkQzWuF4/J1ix/Pedf3yt 0wa/ubPEodw2D+xvV4rrf5o02PfnTaV6VNV62RlqQAIJVsvV44099QTOZORfuA== 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 4RhMDF1kWBz13Sm for ; Thu, 7 Sep 2023 14:33: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 387EXHjC058627 for ; Thu, 7 Sep 2023 14:33:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 387EXHfJ058626 for virtualization@FreeBSD.org; Thu, 7 Sep 2023 14:33: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: Thu, 07 Sep 2023 14:33: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, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open 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 #3 from Bjoern A. Zeeb --- The patch seems to work more by accident because the kernel side adds an IF= F_UP and IFF_UP is in the TUN_VMIO_FLAG_MASK set: {{{ case VMIO_SIOCSIFFLAGS: /* VMware/VMnet SIOCSIFFLAGS */ iflags =3D *(int *)data; iflags &=3D TUN_VMIO_FLAG_MASK; iflags &=3D ~IFF_CANTCHANGE; iflags |=3D IFF_UP; }}} What's the actual error you get? "Could open socket"? I think the real solution is to make the code "advisory" and not to error o= ut in case it cannot UP the interface in that case? --=20 You are receiving this mail because: You are the assignee for the bug.=