Re: What changed in rc.d infrastructure in last months?

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 26 Oct 2015 10:58:12 -0700
On Monday, October 26, 2015 04:38:21 AM Adrian Chadd wrote:
> On 26 October 2015 at 01:27, Lev Serebryakov <lev_at_freebsd.org> wrote:
> > Hello NGie,
> >
> > Sunday, October 25, 2015, 11:09:03 PM, you wrote:
> >
> >
> >> Ok, this is really not making sense from a design perspective.
> >> `ifconfig_<foo>` is being overloaded for starting up hostap’s (even though
> >> ifconfig itself doesn’t support hostap — only `wlanmode ap`). I don’t
> >  ifconfig doesn't support dhcp either, but dhclient is run via "DHCP" in
> >  `ficonfig_<foo>`
> >
> >> understand why it was done this way instead of just creating additional
> >> variables for `hostapd_<foo>`
> >  Long time ago there was simple `hostapd_enable` and `hostapd_interfaces` :)
> >  But it doesn't allow to automagically start hostapd for hotplugged (i.e.
> >  USB) interfaces. On the other hand, automatic DHCP on hot-plugged
> >  interfaces have sense and automatic hostapd doesn't, IMHO.
> 
> This sounds like the same issue as double-running wpa_supplicant.
> 
> I thought this was fixed already :( Would someone please figure out a
> cleanish solution to this? I'd really appreciate it.

Note that /etc/pccard_ether bails right away if the interface is marked up
without doing anything.  That is what is supposed to make devd events at
boot get ignored.  (See the initial loop in pccard_ether_start().)

-- 
John Baldwin
Received on Mon Oct 26 2015 - 17:04:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC