From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ruovy-0001cS-EO for garchives@archives.gentoo.org; Tue, 07 Feb 2012 17:34:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9453BE0760; Tue, 7 Feb 2012 17:34:17 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B09E4E072E for ; Tue, 7 Feb 2012 17:33:50 +0000 (UTC) Received: by yenm1 with SMTP id m1so671461yen.40 for ; Tue, 07 Feb 2012 09:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=q+MMr+QGTcrNtRNoqSOb69U9sVvBL4quOUdHGh1Q2a4=; b=QoFTkvVLSI0AaLyClLI4RvQ5TgPt6B2xlenICg5JKr30srgoH7X8ck7NSjMUMzYkF7 P/DS1H3DvcpDCL0GSuAjIPJueC0Vs1EB/CzKYvfz6KL9iBrLd1LrVD2+g1BXMHhVEy2P 60M1j3VPXRE536EC5bpI82g8xjrWty1yMcZTY= Received: by 10.236.80.74 with SMTP id j50mr34307658yhe.2.1328636030136; Tue, 07 Feb 2012 09:33:50 -0800 (PST) Received: from linux1 (cpe-76-187-77-158.tx.res.rr.com. [76.187.77.158]) by mx.google.com with ESMTPS id h36sm29196503yhj.6.2012.02.07.09.33.47 (version=SSLv3 cipher=OTHER); Tue, 07 Feb 2012 09:33:49 -0800 (PST) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Tue, 07 Feb 2012 11:33:42 -0600 Date: Tue, 7 Feb 2012 11:33:42 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: rfc: only the loopback interface should provide net Message-ID: <20120207173342.GB4579@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20120206210451.GA1940@linux1> <1328570113.8348.53.camel@rook> <20120207064348.GA3036@linux1> <1328603319.8348.81.camel@rook> <4F313792.7050502@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 5a0dbe8c-10f8-470a-b96c-ace4028766ff X-Archives-Hash: 4a171827b46110a34d6dc7ba0fbc005c --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 07, 2012 at 04:46:58PM +0000, Duncan wrote: > 1) Separate net.lo service for stuff that doesn't have to have an=20 > external connection at all. =20 This can be easily done. I'll just make net.lo* not provide net. > 2) A default net (or net*) service that is is composed of all non-net.lo= =20 > services, with a default any-one-of-them policy. > Two reasons for this: >=20 > 2a) It'll "just work" in the simple case. >=20 > 2b) It's the easiest to automatically preconfigure without getting into= =20 > lots of "detect all the networks and magically figure out whether they're= =20 > lan-only or inet" hairballs. As soon as you add a second interface, this default "net" service breaks. That is why I think we should add an "internet" service that consists of interfaces the user says provide a connection to the internet. Then we could make our services that need real internet connections need that service instead of net. > 3) Allow the user/admin to configure net1, net2... just like the default= =20 > net/net*, specifying individual interfaces for each as well as whether=20 > one or all of the configured interfaces must be up for the service to be= =20 > provided. This one or all functionality you are talking about is already available through rc_depend_strict. Also, you can set up virtual services already (see the rc.conf section on dependencies). William --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk8xYHYACgkQblQW9DDEZTix+wCgkD4eU9/Un7NQnkzCiTGU3Gqv HVEAn06/aQxFgWzaPYd77IdkT+N58VFS =3tFS -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--