From nobody Thu Aug 29 15:24:32 2024 X-Original-To: net@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 4WvlSd407vz5PcH4 for ; Thu, 29 Aug 2024 15:24:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvlSc1cBXz4rWW for ; Thu, 29 Aug 2024 15:24:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724945072; a=rsa-sha256; cv=none; b=OmHh9ZEIMb4A0jyNTOIAF7oinIbFj+B0lemxhmv50R7HydqPPycKdkF34p7RUO6v0V1oPH nB4XyTiXFQQoVsY0nM4LxYSKOMFyl27xDx2CP8sl6g8tAb3Nzqz9bU+cbiVgG6via44RRt CaB1g9keusD/GQnWnYzOeb98MvlyDRJvVczbrFOKkhspn+5wUaKYUsfU26zOxLNFXiKkhH NgfXup08kIz5yrEq291P6W9QW1nhC/UkGVkpaFgiInOTWR7ejMFV4uNgNhK9Jf9Wfkf0Gx 8O4TwiZSsXQOBLtmZXWLZmuyabVQn39Rq3pPoHJ6OmmJ45uk7H6Z9HKido0BCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724945072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jcSh/SEhwgEf3d+FF7yJwgYFlZHkioYFS7rCUavlaV4=; b=uL6/4A+t4Szoec/2tLhG4egtOaX69xHbv0YNrSyzNLQMtyCHAtwkkyZBHC25JKNinkTWvT pYolxg10G10lRoUm53NMzVJbUW+QiC79NC6ANJbqgb61o+ieiqlKZ3+bmOwIl4P6y2YLIg ixq9OsF8tfrlyckWn2hZVY6RaDykskgldPuRktS4lMqEWBG3o2TiTT05Ecl0NjL+0Fn+zJ bmyHK/JifPblzvs/2pZmIaazfroMasgtfzDuOAhDjWJN+ER8oachogpvJ0tiC/k+pCVRe8 nJuWcfPi+rFZ3p1I1YfnsDxwY4l4RGaqichG3U5wU76EOUkUNRqRzZdGjX42WQ== 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 4WvlSc1CtyzNCN for ; Thu, 29 Aug 2024 15:24:32 +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 47TFOWOK053373 for ; Thu, 29 Aug 2024 15:24:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47TFOWeR053371 for net@FreeBSD.org; Thu, 29 Aug 2024 15:24:32 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 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing Date: Thu, 29 Aug 2024 15:24:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278306 --- Comment #11 from Chris Hutchinson --- (In reply to Bjoern A. Zeeb from comment #10) I think you're on the right track, Bjoern. But as I examined this approach, I discovered what may be hints to the problem here: libexec/rc/netif @ 152 # netif_common routine # Common configuration subroutine for network interfaces. This # routine takes all the preparatory steps needed for configuriing # an interface and then calls $routine. ... @ 175 # Don't check that the interface(s) exist. We need to run # the down code even when the interface doesn't exist to # kill off wpa_supplicant. # XXXBED: is this really true or does wpa_supplicant die? # if so, we should get rid of the devd entry While I could fully unwind the routine(s) to confirm whether this, or your approach is correct. I don't have time slices available ATM. IOW I agree someone from rc@ or net@ is the best direction. Maybe a PHAB review would be even better? --=20 You are receiving this mail because: You are on the CC list for the bug.=