1 |
On Wed, Apr 24, 2013 at 10:34 AM, Mike Frysinger <vapier@g.o> wrote: |
2 |
|
3 |
> On Wednesday 24 April 2013 13:23:23 William Hubbs wrote: |
4 |
> > On Wed, Apr 24, 2013 at 12:58:21PM -0400, Ian Stakenvicius wrote: |
5 |
> > > On 24/04/13 12:16 PM, William Hubbs wrote: |
6 |
> > > > it has been suggested that gentoo's oldnet scripts be split out |
7 |
> > > > into their own package separate from OpenRC so that they can be |
8 |
> > > > developed independently. I am looking at doing this for OpenRC |
9 |
> > > > 0.12, which I hope to release soon. |
10 |
> > > > |
11 |
> > > > This means when you emerge or upgrade to openrc-0.12, the net.* |
12 |
> > > > scripts will no longer be included. I am going to call the separate |
13 |
> > > > package that includes these scripts gentoo-oldnet. |
14 |
> > > > |
15 |
> > > > My plan is to write a newsitem when OpenRC 0.12 is released |
16 |
> > > > telling users this and that they will have to emerge gentoo-oldnet |
17 |
> > > > to get the gentoo networking scripts or turn on the newnet (maybe |
18 |
> > > > I'll change this to net) use flag to get OpenRC's network scripts |
19 |
> > > > installed and put ewarns in the ebuild if this use flag is turned |
20 |
> > > > off. |
21 |
> > > > |
22 |
> > > > I feel that a newsitem and ewarns in the OpenRC ebuild cover live |
23 |
> > > > systems well. In a nutshell, users should pay attention to their |
24 |
> > > > news items and ewarns. |
25 |
> > > > |
26 |
> > > > On the other hand, some are suggesting that I should add a runtime |
27 |
> > > > dependency to OpenRC so that it pulls in gentoo-oldnet. Since |
28 |
> > > > OpenRC doesn't need gentoo-oldnet in order to run, I feel like this |
29 |
> > > > would be abusing dependencies. |
30 |
> > > > |
31 |
> > > > Does anyone have any thoughts? |
32 |
> > > |
33 |
> > > Current users should be able to do a -uDN and still have their |
34 |
> > > existing systems work as-is. Whether you do this via a static |
35 |
> > > dependency or one controlled by a use flag (and be sure use flag |
36 |
> > > defaults would have oldnet installed by default) is up to you. |
37 |
> > |
38 |
> > The issue is that OpenRC does not have any kind of dependency on |
39 |
> > gentoo-oldnet at all. There will be a separate loopback script in OpenRC |
40 |
> > so it is possible to run OpenRC on a system without the oldnet or |
41 |
> > newnet scripts. In fact, this is a completely valid configuration. |
42 |
> > |
43 |
> > OpenRC doesn't "link" to gentoo-oldnet in any way, so there is no |
44 |
> > dependency. |
45 |
> > |
46 |
> > The way I read the dev manual [1], a newsitem and postinst messages are |
47 |
> > the way to go for somethinglike this. |
48 |
> |
49 |
> it is reasonable to expect openrc updates to *not* break a system. that |
50 |
> means |
51 |
> people shouldn't be required to read a news/postinst message to keep from |
52 |
> killing things. |
53 |
> |
54 |
> |
55 |
So my understanding is that WIlliam does not want to break peoples shit. He |
56 |
doesn't want to maintain oldnet anymore. Other people do. What he wants to |
57 |
do is move oldnet out of openrc. I think that means that: |
58 |
|
59 |
openrc will no longer contain oldnet. |
60 |
openrc ebuilds will need to depend on <something> to make networking work. |
61 |
A brief discussion with him in chat seems to imply that oldnet is still |
62 |
fine. So in Gentoo we could just set IUSE="+oldnet" or similar, and it |
63 |
would get pulled in. |
64 |
Someone may need to fix up the stages to work (I thought they relied on |
65 |
USE="-*" which would entail missing out on oldnet here.) |
66 |
|
67 |
|
68 |
|
69 |
> even then, a default Gentoo system should have networking support |
70 |
> available by |
71 |
> default. our manuals assume this, and people shouldn't have to install a |
72 |
> stage3 and then do `emerge gentoo-oldnet` just to have that happen. so |
73 |
> keeping a dependency in openrc (perhaps initially hard, or behind |
74 |
> IUSE=+oldnet) makes sense. |
75 |
> -mike |
76 |
> |
77 |
|
78 |
Yeah after discussing in chat, I don't think the intention was to 'get |
79 |
everyone off of oldnet' but simply to move it out of openrc and into |
80 |
dedicated packages with maintainers that care about it. |
81 |
|
82 |
-A |