From nobody Tue Aug 24 18:57:56 2021 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 C3B501790BCD for ; Tue, 24 Aug 2021 18:57:56 +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 4GvJK04rbjz3mMs for ; Tue, 24 Aug 2021 18:57:56 +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 8BCF15F9F for ; Tue, 24 Aug 2021 18:57:56 +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 17OIvuAr033021 for ; Tue, 24 Aug 2021 18:57:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17OIvuIp033020 for bugs@FreeBSD.org; Tue, 24 Aug 2021 18:57:56 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 256767] ifconfig(8) NOAUTO and rc.conf(5): untimely configuration (up) of a network interface when it should be down Date: Tue, 24 Aug 2021 18:57:56 +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: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mason@blisses.org X-Bugzilla-Status: Open 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256767 Mason Loring Bliss changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mason@blisses.org --- Comment #4 from Mason Loring Bliss --- I see a very similar issue. rc.conf: ifconfig_em0=3D"NOAUTO DHCP" wlans_iwn0=3D"wlan0" ifconfig_wlan0=3D"NOAUTO WPA DHCP" When I log into an X session, one of the things that happens is barrierc=20 launches as a user process, and it sits in a window looping over failures=20 because there is (correctly) no network. But then I notice it connecting,=20 with ifconfig showing me a configured em0. Racing the system for a test, I logged in and quickly said 'ifconfig' in a= =20 terminal, and saw no configured interfaces, but I then quickly said 'ps ax= =20 | grep dhc' and saw: 84491 - R 0:00.01 /bin/sh /etc/rc.d/dhclient quietstart em0 (env) ...and shortly thereafter em0 was connected. And then, a bit later: $ ps ax | grep dhc 13818 - ICs 0:00.00 dhclient: em0 (dhclient) 89207 - Is 0:00.00 dhclient: system.syslog (dhclient) 91789 - Is 0:00.00 dhclient: em0 [priv] (dhclient) 58103 11 S+ 0:00.00 grep dhc I have yet to dig into what's launching the dhclient. --=20 You are receiving this mail because: You are the assignee for the bug.=