1 |
Hi, |
2 |
|
3 |
On Tue, Jun 28, 2011 at 09:07:12PM -0400, Olivier CrĂȘte wrote: |
4 |
> Hi, |
5 |
> |
6 |
> On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: |
7 |
> > The background is that /etc/init.d/functions.sh is a link to |
8 |
> > /lib/rc/functions.sh, which is part of openrc. |
9 |
> > |
10 |
> > Other init systems, like systemd, are coming along which completely |
11 |
> > replace sysvinit and do not use openrc's init scripts at all. However, |
12 |
> > since things other than init scripts are using /etc/init.d/functions.sh, |
13 |
> > all gentoo users are forced to have openrc on their systems whether they |
14 |
> > use its init scripts or not. |
15 |
> > |
16 |
> > As you can see in the bug, I am working on creating a |
17 |
> > minimalist version of openrc that can be installed to allow users to |
18 |
> > have access to the functions that are in functions.sh regardless of |
19 |
> > whether or not they are using openrc's init system. |
20 |
> > |
21 |
> > I'm not convinced that this is the best approach, so any input would be |
22 |
> > greatly appreciated. |
23 |
> |
24 |
> As long as we have Gentoo-style init scripts in the tree, we will need |
25 |
> these functions to be available. So yes, they should probably be in a |
26 |
> separate package from openrc itself to ease the transition to the bright |
27 |
> systemd future. |
28 |
|
29 |
I'm not advocating killing openrc; I think that the sysvinit/openrc |
30 |
system we have is going to be our default init system for some time |
31 |
|
32 |
It isn't init scripts that I'm worried about. The problem is |
33 |
that scripts other than init scripts are using the code in |
34 |
/etc/init.d/functions.sh, so some how that code, or something similar to |
35 |
it needs to be available on systems so that someone, like yourself, who |
36 |
is not using openrc, can run "emerge --unmerge sysvinit openrc" and have |
37 |
a working system. Right now, things like revdep-rebuild and eix will |
38 |
break if you remove openrc. |
39 |
|
40 |
For the short term I can see it as a subset of openrc, but ultimately I |
41 |
think if you aren't using openrc's init system it should not be required |
42 |
on your system. |
43 |
|
44 |
Any other thoughts? |
45 |
|
46 |
William |