From owner-freebsd-net@freebsd.org Tue Jun 23 16:23:41 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DA65331DC5 for ; Tue, 23 Jun 2020 16:23:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49rs646h8nz3WwZ for ; Tue, 23 Jun 2020 16:23:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E5613332290; Tue, 23 Jun 2020 16:23:40 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E52BD331DC3 for ; Tue, 23 Jun 2020 16:23:40 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rs645sPYz3Wl9 for ; Tue, 23 Jun 2020 16:23:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C4BFE23441 for ; Tue, 23 Jun 2020 16:23:40 +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 05NGNeHF004526 for ; Tue, 23 Jun 2020 16:23:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05NGNeW2004523 for net@FreeBSD.org; Tue, 23 Jun 2020 16:23:40 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: net@FreeBSD.org Subject: [Bug 237649] Does not work receiving an IP address via DHCP after stable/12 (r346874-r347140) Date: Tue, 23 Jun 2020 16:23:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2020 16:23:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237649 John W. O'Brien changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john@saltant.com --- Comment #10 from John W. O'Brien --- I believe I can reproduce this on 12.1-RELEASE in a VNET jail. >From /etc/jail.conf (host) =3D=3D=3D=3D dhcptest1 { path =3D "/usr/jail/dhcptest1"; host.hostname =3D "dhcptest1.net.isc.upenn.edu"; vnet; vnet.interface =3D dhcp1; allow.raw_sockets; mount.fdescfs; devfs_ruleset =3D 40; } =3D=3D=3D=3D /etc/devfs.rules (host) =3D=3D=3D=3D [devfsrules_jail_bpf=3D40] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add path zfs unhide add path 'bpf*' unhide own bpf* root:network perm bpf* 0660 =3D=3D=3D=3D /etc/rc.conf (jail) =3D=3D=3D=3D firewall_enable=3D"YES" firewall_type=3D"open" ifconfig_dhcp1=3D"DHCP" =3D=3D=3D=3D The relevant lines from /etc/network.subr toward the end of ifconfig_up() a= re: =3D=3D=3D=3D if dhcpif $1; then if [ $_cfg -ne 0 ] ; then ${IFCONFIG_CMD} $1 up fi if syncdhcpif $1; then /etc/rc.d/dhclient start $1 fi _cfg=3D0 fi =3D=3D=3D=3D This is the only place anywhere in /etc containing "dhclient start", and it only runs if the iface is set to "SYNCDHCP" or if synchronous_dhclient=3DYE= S. I cannot figure out how this ever worked as documented in the rc.conf manpa= ge, but I did find a clue in base r157706: "Allow the administrator to specify = if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd." That suggests to me that devd is a requirement for async DHC= P, but I have not yet found what other configuration is required, nor what mig= ht have changed to trigger a latent bug. --=20 You are receiving this mail because: You are the assignee for the bug.=