From nobody Mon Aug 19 13:02:12 2024 X-Original-To: bugs@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 4WnXn10D9bz5T0xX for ; Mon, 19 Aug 2024 13:02:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WnXn0404Gz4hWs for ; Mon, 19 Aug 2024 13:02:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724072532; a=rsa-sha256; cv=none; b=KfvPixeUjRlxel6eWEbaQPsdeEhxdog5tjqtFrYoqw1Kcrvim3B8nXaPjFNrgaXejM8SzA mQxwcQQAh07I4q2HDWDxrbCpP9olIuj+ybC6R0vbSKlfLHX25EO7pK1GhCSTugJtOIH7uV 3uetC4uBawLVpTdFCnP4icmfc0EFJWWi67xpbo1FKmnTpH4zbRLYEfWyyA0jP1XVWgsLbz Xoh+41FnFEYtjEkk75ysiNKQEpII7+I/6iRhXD0unUEkMQv4A2dgw5byS/qE2tVe5AU18w MzMoWzV3ceHoBSsZRxREBwjBazn/+L7kooDflA5oDp1TnZVq2+18dNJ6dz4SgQ== 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=1724072532; 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=p8GtBuIZeUtjLaTKE7K33iIfrKZghmjBJLvgAxMZwOU=; b=KAoFdHxQeaNKMc8GKug44AM3yQiF/CVHzQproHWoNewrADZikgRv0Li8qsAQcVEu2uCTcM uZyqIqKQkDqu1teeD+nLRi4k7ku6ypGSip0yilgdZoVNlRRechfljXUga98eh+Oo9h0Vgl Np1GaD1HXGUpoh+TXJPkMwp9Z3IjNQb+3pSke89HBeN8zGMp3++bCUMMdYtSQA97CpQwKu 6ucHoYGdnliYDwqBfwUJUXo+44JIIYS1JP2a3xZpv9lpkgfIFYm1ArkbHv+CLpXxqK0E28 f1TgNFid6GHJuuADaL1TI97wljPGRMaBkdo4SRyLiWERpGiftV5skoQ2X9cNlQ== 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 4WnXn03bt6zHnc for ; Mon, 19 Aug 2024 13:02:12 +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 47JD2C9R054758 for ; Mon, 19 Aug 2024 13:02:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47JD2CkK054757 for bugs@FreeBSD.org; Mon, 19 Aug 2024 13:02:12 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: bugs@FreeBSD.org Subject: [Bug 280913] [patch] Unexpected state of vnet-jails with ifconfig_DEFAULT="DHCP" in rc.conf(5) Date: Mon, 19 Aug 2024 13:02:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280913 crest@rlwinm.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crest@rlwinm.de --- Comment #1 from crest@rlwinm.de --- As you already identified the problem is that ifconfig_=3D"... DHCP" doesn't work inside a vnet jail. The reason for this is that DHCP instead of SYNCDHCP relies on devd to resp= ond to link up events and which is impossible inside a jail since it would requ= ire opening /dev/devctl inside the jail to get events into the kernel and that device support only one opening at a time (like tun and tap device). You have to use SYNCDHCP inside the jail or configure the host's devd to ma= tch on the jail interface name(s) with a higher priority than the default rules= to make async DHCP work and use jexec to run the same script inside the correct jail with jexec. --=20 You are receiving this mail because: You are the assignee for the bug.=