Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2024 15:24:32 +0000
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
Message-ID:  <bug-278306-7501-zDTFYvfiwc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278306-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278306-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278306

--- Comment #11 from Chris Hutchinson <portmaster@bsdforge.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278306-7501-zDTFYvfiwc>