From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-54160-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 80319138010
	for <garchives@archives.gentoo.org>; Fri, 24 Aug 2012 23:49:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BCB00E0663;
	Fri, 24 Aug 2012 23:49:17 +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 35518E0540
	for <gentoo-dev@lists.gentoo.org>; Fri, 24 Aug 2012 23:48:23 +0000 (UTC)
Received: by obbwd18 with SMTP id wd18so2471454obb.40
        for <gentoo-dev@lists.gentoo.org>; Fri, 24 Aug 2012 16:48:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:date:from:to:cc:subject:message-id:mail-followup-to
         :references:mime-version:content-type:content-disposition
         :in-reply-to:user-agent;
        bh=MUnNgUr19Yf46ozb1KJRdtFladar5NICM/SQQ2Ih7Dc=;
        b=fTlzsz9lccwKdQ0/1CvFcKtg0fDSGWesSApa7ILtlS0nBJ4g5xIc+grndbrc6xYoIe
         oHWydrhBCAEaUgKRn7AirJeR44UpoOv+y23d6lLk5eQuvIGzDwlNB6dn+4XFpRWCj8uD
         gPNPIuY1nTxZJ1WBWjN2TmZs803xPRuimqpr0Stm10Gjg4EmLIZxBz824Myy/84zDo4G
         sDVy6TEg2f+1S4g7ig8OZyd0y2c2oOvTMxInS+qTa6op78xRJwAzwOhIxtAes88SShCq
         khutkkhMga6scHah0LpvbzhQiNprqqeS6yeXU2fDFe0uNDxeA3RF/TCakBbMGKi6w3fw
         LxxQ==
Received: by 10.182.0.13 with SMTP id 13mr5226741oba.55.1345852103624;
        Fri, 24 Aug 2012 16:48:23 -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 zx16sm588432oeb.0.2012.08.24.16.48.21
        (version=SSLv3 cipher=OTHER);
        Fri, 24 Aug 2012 16:48:22 -0700 (PDT)
Sender: William Hubbs <w.d.hubbs@gmail.com>
Received: by linux1 (sSMTP sendmail emulation); Fri, 24 Aug 2012 18:48:20 -0500
Date: Fri, 24 Aug 2012 18:48:20 -0500
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: heroxbd@gentoo.org
Subject: Re: [gentoo-dev] rfc: OpenRC network provides revisited
Message-ID: <20120824234820.GA1944@linux1>
Mail-Followup-To: gentoo-dev@lists.gentoo.org, heroxbd@gentoo.org
References: <20120824171010.GA27765@linux1>
 <86y5l3vrpw.fsf@gentoo.org>
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="0OAP2g/MAC+5xKAE"
Content-Disposition: inline
In-Reply-To: <86y5l3vrpw.fsf@gentoo.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: 9191c771-eaf1-4870-8a93-779db04ae8a5
X-Archives-Hash: cc40c22f744971a18b0298f25096072f


--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 25, 2012 at 07:40:43AM +0900, heroxbd@gentoo.org wrote:
> Besides, IMHO, we should avoid changing OpenRC's default dependency too
> often. The solution for one user can be received as a regression to
> others.
>=20
> People file bugs saying "it worked for OpenRC-0.9 but not 0.10". For
> devs, we know we just changed default value of something perfectly
> configurable. But for that user, it is quite discouraging to feel
> "something in OpenRC is still unstable".

Another thing to consider is, do the services we say "need net" really
_NEED_ net?

If a service is a listener like sshd that isn't bound to a specific
address by default and can deal with interfaces going up and down, I
would guess that it doesn't. I am thinking that we can set up the
depends for sshd as follows:

use net
after net

That would make sure a net provider runs before sshd if one is
in the runlevel, but allow sshd to start if one is not as well.

This would have to be tested on a case-by-case basis.

About changing default values, I think that if we have a good reason to
change them, we should inform users and change them.

I think the advantage here is that it makes openrc run out of the box in
more situations.

William


--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

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

iEYEARECAAYFAlA4EsQACgkQblQW9DDEZTjiRwCdFfvT4kZS9ytP1sc2B1EpWE31
ylEAnRRDVY5x9o7xDvUJjNnjd5vRLOZL
=RNZW
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--