From owner-freebsd-current@freebsd.org Mon Oct 26 11:38:23 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23D04A19807 for ; Mon, 26 Oct 2015 11:38:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E26C41125; Mon, 26 Oct 2015 11:38:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igdg1 with SMTP id g1so56271517igd.1; Mon, 26 Oct 2015 04:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QRU2bbK7tbfW1novfP2I1JbgUn31LaGzrbvVAGCGU+g=; b=f1dHv3dA9GeuRJWQRXGQ/02pvV0nA9JSh8cyKcbrjLuIdlhmpDnuf92THljl3Easka 4MZ/FsURIe6X+SgHT2SOyrb7jKPUkWjNBbUGGvT/4ryMMmVEvaG9mrvEOBNRTGxKcJMe b2D1V3MpygoNMx1wu6ngoCMbypRvK7Ej6W0IDa8KcTD2kyMmqwbLqoDnfjAUKH2TudRC qm2CC79adsnGWiiE150qrEK7g9CKbsGfGeTwbfxrqmbVLLQ6UNuKfV0yATpRBgiZ2RNV kdnO83XBug11C03tapG8MVIl7Lc/VvNKuDYtnymWY1zFecU99TNEpuDwYfiU6YaIFlKl XQfQ== MIME-Version: 1.0 X-Received: by 10.50.155.41 with SMTP id vt9mr9291498igb.22.1445859501951; Mon, 26 Oct 2015 04:38:21 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Mon, 26 Oct 2015 04:38:21 -0700 (PDT) In-Reply-To: <1648746569.20151026112745@serebryakov.spb.ru> References: <16610120144.20151025222025@serebryakov.spb.ru> <28FF29D6-A2D9-46C0-A419-DB433BB9F54A@gmail.com> <606144753.20151025224636@serebryakov.spb.ru> <562C2E44-DA31-450F-B867-607047697EFE@gmail.com> <731AEB43-6519-4FC4-A115-E45FCFAE8F72@gmail.com> <1648746569.20151026112745@serebryakov.spb.ru> Date: Mon, 26 Oct 2015 04:38:21 -0700 Message-ID: Subject: Re: What changed in rc.d infrastructure in last months? From: Adrian Chadd To: Lev Serebryakov Cc: NGie Cooper , freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 11:38:23 -0000 On 26 October 2015 at 01:27, Lev Serebryakov 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_` is being overloaded for starting up hostap=E2=80=99s (e= ven though >> ifconfig itself doesn=E2=80=99t support hostap =E2=80=94 only `wlanmode = ap`). I don=E2=80=99t > ifconfig doesn't support dhcp either, but dhclient is run via "DHCP" in > `ficonfig_` > >> understand why it was done this way instead of just creating additional >> variables for `hostapd_` > 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. -a