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/> References: <bug-280913-227@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=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_<name>=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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280913-227-jekjW7uy1P>