[Bug 278306] service netif start doesn't bring up the wireless interface if /etc/wpa_supplicant.conf is missing

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278306

--- Comment #11 from Chris Hutchinson <[email protected]> ---
(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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.