From nobody Tue Jun 22 08:48:59 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 AA4B811DC152 for ; Tue, 22 Jun 2021 08:48:59 +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 4G8KnR4FH3z3h8T for ; Tue, 22 Jun 2021 08:48:59 +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 7A2355BF6 for ; Tue, 22 Jun 2021 08:48:59 +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 15M8mxuH032505 for ; Tue, 22 Jun 2021 08:48:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15M8mxWf032504 for bugs@FreeBSD.org; Tue, 22 Jun 2021 08:48:59 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, 22 Jun 2021 08:48:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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 Bug ID: 256767 Summary: ifconfig(8) NOAUTO and rc.conf(5): untimely configuration (up) of a network interface when it should be down Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com Created attachment 225988 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225988&action= =3Dedit Screen recording: wlan0 properly down, then brought up; gif0 unexpectedly u= p, then taken down man 5 rc.conf > =E2=80=A6 > If the ifconfig_=E2=9F=A8interface=E2=9F=A9 contains the keyword =E2=80= =9CNOAUTO=E2=80=9D > then the interface will not be configured at boot or by > /etc/pccard_ether when network_interfaces is set to =E2=80=9CAUTO=E2=80= =9D. > =E2=80=A6 With ifconfig_gif0_ipv6 set to include NOAUTO before a restart of the opera= ting system, the interface was unexpectedly up following a restart.=20 Relevant lines from the attached screen recording:=20 % grep ifconfig_wlan0 /etc/rc.conf ifconfig_wlan0=3D"WPA SYNCDHCP NOAUTO" % grep ifconfig_gif /etc/rc.conf | grep -v \# | cut -c 1-26,66-100 ifconfig_gif0_ipv6=3D"inet6 prefixlen 128 NOAUTO" %=20 Showing the ups and downs: gkrellm --=20 You are receiving this mail because: You are the assignee for the bug.=