From owner-freebsd-current@freebsd.org Sun Oct 25 20:09:06 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 863FA8C89 for ; Sun, 25 Oct 2015 20:09:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 49EDA13AD; Sun, 25 Oct 2015 20:09:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by oiao187 with SMTP id o187so90225729oia.3; Sun, 25 Oct 2015 13:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PGyHLWktODvJUi9m4QLQriK/Tnpw9oMignsx2qMjw6k=; b=MVFcNe/ckeMorYFK1fH17atR7yW/gfHUFbikZoIIFQtXXkJ2QMJvhwiC1XOSCWJ60X easTJnOACJNf2hdcqJMDdIN1ugvxERklP2C845Xb1UioVamCaILr2rLa3Hd3OndvnRap CUKfGrf0iKnQrkYHWsRoOfthADC3og/CVuhlgheG1cKFnvL7RaCgDmf+75uzVuKwG4Z7 RGCedj4eU/MjwKR6/B6r5fwf/4pJDdxLslDgEfhavSbyqW9vTkWr23x4Ks7666eOUCax rtOX9HCcbeQ3AlryOKGIut8KSmr/R+ZJcGY4W9pBVsWiWxcq7UEDoVapsgGKIQeAcbdl 0vLA== X-Received: by 10.202.44.195 with SMTP id s186mr21080951ois.11.1445803745323; Sun, 25 Oct 2015 13:09:05 -0700 (PDT) Received: from ?IPv6:2601:601:800:126d:6c5b:a5fd:aec8:13bf? ([2601:601:800:126d:6c5b:a5fd:aec8:13bf]) by smtp.gmail.com with ESMTPSA id c185sm13411910oif.17.2015.10.25.13.09.04 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Oct 2015 13:09:04 -0700 (PDT) Subject: Re: What changed in rc.d infrastructure in last months? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 From: NGie Cooper X-Priority: 3 (Normal) In-Reply-To: <562C2E44-DA31-450F-B867-607047697EFE@gmail.com> Date: Sun, 25 Oct 2015 13:09:03 -0700 Cc: freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: <731AEB43-6519-4FC4-A115-E45FCFAE8F72@gmail.com> 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> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.2104) 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: Sun, 25 Oct 2015 20:09:06 -0000 > On Oct 25, 2015, at 12:58, NGie Cooper wrote: >=20 >=20 >> On Oct 25, 2015, at 12:54, NGie Cooper wrote: >=20 > ... >=20 >> I=E2=80=99ll need to double-check the rcorder and get back to you on = that. >=20 > Answering this part: nope. devd still gets started after netif on my = branch, so it=E2=80=99ll still start hostapd twice: >=20 > $ rcorder `make -VFILES SRCCONF=3D/dev/null` > growfs > ... > netif > devd > ... > $ Ok, this is really not making sense from a design perspective. = `ifconfig_` is being overloaded for starting up hostap=E2=80=99s = (even though ifconfig itself doesn=E2=80=99t support hostap =E2=80=94 = only `wlanmode ap`). I don=E2=80=99t understand why it was done this way = instead of just creating additional variables for `hostapd_`, = similar to `ifconfig_` (other than maybe, it simplified things = because `_ifconfig_getargs` could be used to grab the variables from = `ifconfig_` =E2=80=94 but it seems like a kludge to me). I=E2=80=99d need to boot up FreeBSD on one of my PC laptops to confirm = what the behavior is (the earliest I will likely be able to do this is = later on today). $ grep -r hostap sbin/ifconfig/ sbin/ifconfig/ifconfig.8:.Cm hostap ), sbin/ifconfig/ifconfig.8:.Cm hostap sbin/ifconfig/ifconfig.8:.Xr hostapd 8 $ Thanks, -NGie=