From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0162F1381F3 for ; Thu, 25 Apr 2013 03:33:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33A3FE09C1; Thu, 25 Apr 2013 03:33:03 +0000 (UTC) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 339E4E09B4 for ; Thu, 25 Apr 2013 03:33:01 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id at1so3138923iec.29 for ; Wed, 24 Apr 2013 20:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=hwUTPTFKXCi/5eWq10bjIl4KGTBFln4+wQl6R1W5e9w=; b=oDqo4wvdgUqpLOIkCI97PuX8ycGiFY1j5SCShzBCmVG2pyZI5jtX6NzQRh3F/SslAT YHm748RxjjmLtpZADOGXZzoalU/ZIftoERxhRP9AGk3Va64Mu0RWoSDAeqSaLB6QkBlB ASmBDn3H8mLMm9pUnbihwSIniHaGuRME9MH6l1fYmM9qvs6YYt1HD5RfcLxlXZZVUzr+ Ar9wtMBtKYievkbWhKiWk9M3OK1rtv0vM+AONjZXcC171RLul6pXl0W1dUNQXUlGyAyA Me/hnxwNkZ8q99zkOvepDNkIvyTtH1xYHNrGDAanrFnERban74edmHUvdvBNpe3gfrim pP1Q== X-Received: by 10.50.62.66 with SMTP id w2mr16241384igr.81.1366860781392; Wed, 24 Apr 2013 20:33:01 -0700 (PDT) Received: from linux1 (cpe-76-187-91-128.tx.res.rr.com. [76.187.91.128]) by mx.google.com with ESMTPSA id qn10sm31820556igc.6.2013.04.24.20.32.57 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Apr 2013 20:32:59 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Wed, 24 Apr 2013 22:32:56 -0500 Date: Wed, 24 Apr 2013 22:32:56 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: oldnet scripts splitting out from OpenRC Message-ID: <20130425033256.GA3900@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20130424161606.GA1607@linux1> <51780F2D.7060007@gentoo.org> <20130424172323.GB2323@linux1> <201304241334.37807.vapier@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="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 7f670365-2636-49fd-8814-2be009d62dc3 X-Archives-Hash: c34e0041d9989b1c24a8af2f013d2b80 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2013 at 08:13:23PM -0700, Alec Warner wrote: > On Wed, Apr 24, 2013 at 10:34 AM, Mike Frysinger wrot= e: >=20 > > On Wednesday 24 April 2013 13:23:23 William Hubbs wrote: > > > On Wed, Apr 24, 2013 at 12:58:21PM -0400, Ian Stakenvicius wrote: > > > > On 24/04/13 12:16 PM, William Hubbs wrote: > > > > > it has been suggested that gentoo's oldnet scripts be split out > > > > > into their own package separate from OpenRC so that they can be > > > > > developed independently. I am looking at doing this for OpenRC > > > > > 0.12, which I hope to release soon. > > > > > > > > > > This means when you emerge or upgrade to openrc-0.12, the net.* > > > > > scripts will no longer be included. I am going to call the separa= te > > > > > package that includes these scripts gentoo-oldnet. > > > > > > > > > > My plan is to write a newsitem when OpenRC 0.12 is released > > > > > telling users this and that they will have to emerge gentoo-oldnet > > > > > to get the gentoo networking scripts or turn on the newnet (maybe > > > > > I'll change this to net) use flag to get OpenRC's network scripts > > > > > installed and put ewarns in the ebuild if this use flag is turned > > > > > off. > > > > > > > > > > I feel that a newsitem and ewarns in the OpenRC ebuild cover live > > > > > systems well. In a nutshell, users should pay attention to their > > > > > news items and ewarns. > > > > > > > > > > On the other hand, some are suggesting that I should add a runtime > > > > > dependency to OpenRC so that it pulls in gentoo-oldnet. Since > > > > > OpenRC doesn't need gentoo-oldnet in order to run, I feel like th= is > > > > > would be abusing dependencies. > > > > > > > > > > Does anyone have any thoughts? > > > > > > > > Current users should be able to do a -uDN and still have their > > > > existing systems work as-is. Whether you do this via a static > > > > dependency or one controlled by a use flag (and be sure use flag > > > > defaults would have oldnet installed by default) is up to you. > > > > > > The issue is that OpenRC does not have any kind of dependency on > > > gentoo-oldnet at all. There will be a separate loopback script in Op= enRC > > > so it is possible to run OpenRC on a system without the oldnet or > > > newnet scripts. In fact, this is a completely valid configuration. > > > > > > OpenRC doesn't "link" to gentoo-oldnet in any way, so there is no > > > dependency. > > > > > > The way I read the dev manual [1], a newsitem and postinst messages a= re > > > the way to go for somethinglike this. > > > > it is reasonable to expect openrc updates to *not* break a system. that > > means > > people shouldn't be required to read a news/postinst message to keep fr= om > > killing things. > > > > > So my understanding is that WIlliam does not want to break peoples shit. = He > doesn't want to maintain oldnet anymore. Other people do. What he wants to > do is move oldnet out of openrc. I think that means that: > openrc will no longer contain oldnet. > openrc ebuilds will need to depend on to make networking work. > A brief discussion with him in chat seems to imply that oldnet is still > fine. So in Gentoo we could just set IUSE=3D"+oldnet" or similar, and it > would get pulled in. =20 I'll be involved in maintaining oldnet, but there are others (mainly robbat2) who want to be able to release new versions of oldnet separately from OpenRC, and to look into porting it to systemd. I don't have a problem with the IUSE=3D"+oldnet" issue if no one else does, it just seemed sort of backward to me, using a use flag to pull in something that really isn't a dependency. But this would mean we can forget about any virtuals. William > Someone may need to fix up the stages to work (I thought they relied on > USE=3D"-*" which would entail missing out on oldnet here.) Yes, I was planning to get with Jorge before this hits stable and figure out what needs to happen. >=20 >=20 >=20 > > even then, a default Gentoo system should have networking support > > available by > > default. our manuals assume this, and people shouldn't have to install= a > > stage3 and then do `emerge gentoo-oldnet` just to have that happen. so > > keeping a dependency in openrc (perhaps initially hard, or behind > > IUSE=3D+oldnet) makes sense. > > -mike > > >=20 > Yeah after discussing in chat, I don't think the intention was to 'get > everyone off of oldnet' but simply to move it out of openrc and into > dedicated packages with maintainers that care about it. >=20 > -A --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlF4o+IACgkQblQW9DDEZTjDqQCdEbbJZdQyntGK8qV9+PGDsrYv jMoAn0TjPT8o5MbwgU6s1czNVcg4RtDb =LwDh -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--