From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-54156-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id C7DFD138010
	for <garchives@archives.gentoo.org>; Fri, 24 Aug 2012 19:59:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2B370E0574;
	Fri, 24 Aug 2012 19:59:15 +0000 (UTC)
Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id AAA7BE04BA
	for <gentoo-dev@lists.gentoo.org>; Fri, 24 Aug 2012 19:58:13 +0000 (UTC)
Received: by obbwd18 with SMTP id wd18so2113459obb.40
        for <gentoo-dev@lists.gentoo.org>; Fri, 24 Aug 2012 12:58:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:date:from:to:subject:message-id:mail-followup-to:references
         :mime-version:content-type:content-disposition:in-reply-to
         :user-agent;
        bh=1Bpgx4lJTvEa4YBVTQhHuAG8ZnHbMjcAgB6373hZo6A=;
        b=cjEJ78MNwvWBrsYmuva/IeQeXPGluZ3g/m6pdj3xjEJaL7hrWab6JJ/Ifz0IUQRQFC
         vWxjGQs35Ofsdpgr1Mz7QB/drrVvivk3qG/50q766mmbg0yhyoW2t3PTVoXZ2hMnlGq6
         30YCbJ9aeBjxm5sXDTtW6eigd7ChuCdu/0ZWQStZHjU+socP0sCqwH2yZbFxoN+oq3Hj
         RuB0rC6g8O1yxzMpL/VbODZGExvle0NhPS1i46ytiMiWIohNI3wMoAkmASyJPHl0Cu7x
         tFhBXC2bcNzFAEPlHluk5+oBfvDSHJl73DzrIPvx1mdWBf9gr4qjw3vstK9tyzRZHADL
         W/VA==
Received: by 10.182.118.71 with SMTP id kk7mr4805424obb.81.1345838292790;
        Fri, 24 Aug 2012 12:58:12 -0700 (PDT)
Received: from linux1 (cpe-76-187-95-170.tx.res.rr.com. [76.187.95.170])
        by mx.google.com with ESMTPS id a3sm7460300oeb.6.2012.08.24.12.58.10
        (version=SSLv3 cipher=OTHER);
        Fri, 24 Aug 2012 12:58:11 -0700 (PDT)
Sender: William Hubbs <w.d.hubbs@gmail.com>
Received: by linux1 (sSMTP sendmail emulation); Fri, 24 Aug 2012 14:58:09 -0500
Date: Fri, 24 Aug 2012 14:58:09 -0500
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: OpenRC network provides revisited
Message-ID: <20120824195809.GA29450@linux1>
Mail-Followup-To: gentoo-dev@lists.gentoo.org
References: <20120824171010.GA27765@linux1>
 <1345830614.9332.38.camel@rook>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
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="SLDf9lqlvOQaIe6s"
Content-Disposition: inline
In-Reply-To: <1345830614.9332.38.camel@rook>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: 4cc1a474-e40e-4e60-8b4a-ce57f800dd29
X-Archives-Hash: 8ccb680f818f3288fc08949736a83708


--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 24, 2012 at 01:50:14PM -0400, Alexandre Rostovtsev wrote:
> On Fri, 2012-08-24 at 12:10 -0500, William Hubbs wrote:
> > The second question this bug brings up is whether services should "need"
> > or "use" net. Remember that the "need" dependency will try to run the
> > needed service even if it is in init.d but not in a runlevel.
>=20
> Presumably that depends on the service. If a daemon can deal with
> network interfaces going up and down, then "use net" of course makes
> more sense.
=20
 This user is running with pre-configured interfaces (root is nfs
 mounted). The network interface configuration should not be touched by
 openrc.

If you look at his logs, one issue is that the "network" service is
starting even though it isn't in a runlevel. I have made changes in git
master so this will not be installed if you do not use the "newnet" use
flag.

When network interfaces are pre-configured, our network scripts
shouldn't run at all, but they can be forced to run if other services
have "need net" in their dependencies.

So my question is, should we change our services to "use net" instead of
"need net"?

William


--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlA33NEACgkQblQW9DDEZTgf0gCdGZmq29LkUgqU6seM29EDzyar
N8UAn1M4JtIJnPS/E/Yw5WSid8fmT041
=3tqr
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--