Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: oldnet scripts splitting out from OpenRC
Date: Wed, 24 Apr 2013 18:46:50
Message-Id: 201304241446.44543.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: oldnet scripts splitting out from OpenRC by William Hubbs
1 On Wednesday 24 April 2013 13:54:07 William Hubbs wrote:
2 > On Wed, Apr 24, 2013 at 01:34:36PM -0400, Mike Frysinger wrote:
3 > > On Wednesday 24 April 2013 13:23:23 William Hubbs wrote:
4 > > > The issue is that OpenRC does not have any kind of dependency on
5 > > > gentoo-oldnet at all. There will be a separate loopback script in
6 > > > OpenRC so it is possible to run OpenRC on a system without the oldnet
7 > > > or newnet scripts. In fact, this is a completely valid configuration.
8 > > >
9 > > > OpenRC doesn't "link" to gentoo-oldnet in any way, so there is no
10 > > > dependency.
11 > > >
12 > > > The way I read the dev manual [1], a newsitem and postinst messages are
13 > > > the way to go for somethinglike this.
14 > >
15 > > it is reasonable to expect openrc updates to *not* break a system. that
16 > > means people shouldn't be required to read a news/postinst message to
17 > > keep from killing things.
18 > >
19 > > even then, a default Gentoo system should have networking support
20 > > available by default. our manuals assume this, and people shouldn't
21 > > have to install a stage3 and then do `emerge gentoo-oldnet` just to have
22 > > that happen. so keeping a dependency in openrc (perhaps initially hard,
23 > > or behind IUSE=+oldnet) makes sense.
24 >
25 > I was planning on opening a bug before all of this hit stable to have
26 > releng add gentoo-oldnet to the stages when it does hit stable.
27
28 "adding to the stages" isn't a magic incantation :). it's either part of
29 @system, or it's a dependency in a package that is part of @system. i don't
30 think adding it straight to @system makes sense, and i don't think there's
31 really an existing dependency other than openrc where this would be
32 appropriate.
33
34 > if we keep a dependency for a while, even behind something like
35 > IUSE="+oldnet", when we drop it, people will still be hit if they do
36 > emerge --depclean before they emerge gentoo-oldnet.
37
38 i don't think we should drop it. openrc is logically the best place imo.
39
40 i understand your position that openrc works just fine w/out these scripts.
41 but i don't think that pure logical distinction is really necessary here. if
42 people really truly don't want it, they have a USE flag to turn it off.
43 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: oldnet scripts splitting out from OpenRC Patrick McLean <chutzpah@g.o>