Date: Mon, 19 Aug 2024 13:02:12 +0000 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) Message-ID: <bug-280913-227-jekjW7uy1P@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280913-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280913 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_<name>="... DHCP" doesn't work inside a vnet jail. The reason for this is that DHCP instead of SYNCDHCP relies on devd to respond to link up events and which is impossible inside a jail since it would require 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 match 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280913-227-jekjW7uy1P>
