1 |
On Wed, Apr 24, 2013 at 12:58:21PM -0400, Ian Stakenvicius wrote: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA256 |
4 |
> |
5 |
> On 24/04/13 12:16 PM, William Hubbs wrote: |
6 |
> > All, |
7 |
> > |
8 |
> > it has been suggested that gentoo's oldnet scripts be split out |
9 |
> > into their own package separate from OpenRC so that they can be |
10 |
> > developed independently. I am looking at doing this for OpenRC |
11 |
> > 0.12, which I hope to release soon. |
12 |
> > |
13 |
> > This means when you emerge or upgrade to openrc-0.12, the net.* |
14 |
> > scripts will no longer be included. I am going to call the separate |
15 |
> > package that includes these scripts gentoo-oldnet. |
16 |
> > |
17 |
> > My plan is to write a newsitem when OpenRC 0.12 is released |
18 |
> > telling users this and that they will have to emerge gentoo-oldnet |
19 |
> > to get the gentoo networking scripts or turn on the newnet (maybe |
20 |
> > I'll change this to net) use flag to get OpenRC's network scripts |
21 |
> > installed and put ewarns in the ebuild if this use flag is turned |
22 |
> > off. |
23 |
> > |
24 |
> > I feel that a newsitem and ewarns in the OpenRC ebuild cover live |
25 |
> > systems well. In a nutshell, users should pay attention to their |
26 |
> > news items and ewarns. |
27 |
> > |
28 |
> > On the other hand, some are suggesting that I should add a runtime |
29 |
> > dependency to OpenRC so that it pulls in gentoo-oldnet. Since |
30 |
> > OpenRC doesn't need gentoo-oldnet in order to run, I feel like this |
31 |
> > would be abusing dependencies. |
32 |
> > |
33 |
> > Does anyone have any thoughts? |
34 |
> > |
35 |
> > William |
36 |
> > |
37 |
> |
38 |
> |
39 |
> Current users should be able to do a -uDN and still have their |
40 |
> existing systems work as-is. Whether you do this via a static |
41 |
> dependency or one controlled by a use flag (and be sure use flag |
42 |
> defaults would have oldnet installed by default) is up to you. |
43 |
|
44 |
The issue is that OpenRC does not have any kind of dependency on |
45 |
gentoo-oldnet at all. There will be a separate loopback script in OpenRC |
46 |
so it is possible to run OpenRC on a system without the oldnet or |
47 |
newnet scripts. In fact, this is a completely valid configuration. |
48 |
|
49 |
OpenRC doesn't "link" to gentoo-oldnet in any way, so there is no |
50 |
dependency. |
51 |
|
52 |
The way I read the dev manual [1], a newsitem and postinst messages are |
53 |
the way to go for somethinglike this. |
54 |
|
55 |
William |
56 |
|
57 |
[1] http://devmanual.gentoo.org/general-concepts/use-flags/index.html |