1 |
On Thu, Jul 11, 2019 at 09:01:16AM -0400, Michael Orlitzky wrote: |
2 |
> On 7/10/19 11:14 PM, William Hubbs wrote: |
3 |
> > |
4 |
> > I don't want to remove sysvinit by default. If you want to remove it, |
5 |
> > you can, but I don't want to force that issue. That's why I don't want |
6 |
> > to turn the use flag on by default like systemd does. |
7 |
> > |
8 |
> |
9 |
> After re-reading the bug report and sleeping on this... doesn't the USE |
10 |
> flag alone achieve your goals? |
11 |
> |
12 |
> If you add USE=sysv-utils to OpenRC and change RDEPEND from |
13 |
> |
14 |
> RDEPEND="... sys-apps/sysvinit ... " |
15 |
> |
16 |
> to |
17 |
> |
18 |
> RDEPEND="... sysv-utils? ( !sys-apps/sysvinit ) |
19 |
> !sysv-utils? ( sys-apps/sysvinit ) ... " |
20 |
> |
21 |
> then by default, OpenRC will pull in sys-apps/sysvinit, and use its |
22 |
> implementations of init/shutdown. Then later if someone wants to get rid |
23 |
> of sys-apps/sysvinit, he has the option to uninstall sys-apps/sysvinit |
24 |
> and then re-emerge OpenRC with USE=sysv-utils. |
25 |
|
26 |
Sort of, but not quite. OpenRC doesn't really have an rdepend on |
27 |
sysvinit at all; it is the other way around. /etc/inittab is part of |
28 |
sysvinit, not openrc and this is how openrc and sysvinit are used |
29 |
together. It could be argued that our sysvinit package should have the |
30 |
rdepend on openrc. |
31 |
|
32 |
But, if I do that, I need to make sure that sysvinit is installed by |
33 |
default, that is one reason I'm thinking about virtual/init. |
34 |
|
35 |
A service manager is separate from the init process, so that is also why |
36 |
virtual/init should be a thing. The service manager does not have to be |
37 |
in the same package as the init process. |
38 |
|
39 |
William |