From nobody Thu Aug 29 15:24:32 2024 X-Original-To: wireless@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 4WvlSd3zRwz5PcZm 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 4WvlSd0f9xz4rLW for ; Thu, 29 Aug 2024 15:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724945073; a=rsa-sha256; cv=none; b=Z8sa9BjBDRr9MaD7B7jIvetbPxkseS3wf/GZsyG/UF3IXlyQpw0HCCn48UQbVJud2VFPFe uFg3IxRa4IfhBNQPDuP27Gg/q9YNsAMium6k+ndASrSEH2XH1NfaBMA4UTKXFKZDByjMfi E1xw3QwERCbyAYH6cnEFWIeQbrAmxJu88xPQaUy226Pqv31AeuyvIVCJvQooTb5alTcXDs +P38SXy+L0OAML6sHREh5Gb2RQByqXHZ3bfFdKbz1JAxUpc7dKdEwgVTqW+M7QpTy9k+m6 QyRIbofTb/MnL1OMVFjZXui1r4QN/oHELHN+CxXLKPvBDvW235F6CHck9Xil7Q== 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=1724945073; 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=om1PQcbaPpotIBHLdWWulxfMsXrHsVdSgZVWm1tye/ejBQwbeRmT7+IIwaVBwJx7xNPnTI I2hQAPEn5F8wU7EWAYCVs7ZdMSUCgNemUredB0dlJKKdCtx0k4xUdg0iGFBbsDIbBb5CcT Or4jHXSEY5qzoTSaoVBvtz6DD6ymQWXOiN/CWEepNeBAW65go7KCe5sdQtSss7lKTr8pLE VoQRMg8mVNGjpMRZnJPA2/D2EoH85+QjXEFTkDMVQwdkMIAqAMk9NJY5jG99cV179fp1Ze k0yAxt/53MP9lvtUlcL6uVc4k5MQ4XUedhGXwGzACkj8JJBaNQ+IRhaAEQHpow== 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 4WvlSd06xszNPc for ; Thu, 29 Aug 2024 15:24:33 +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 47TFOWIZ053518 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 47TFOWGM053516 for wireless@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: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@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.=