Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: floppym@g.o, mjo@g.o, rich0@g.o
Subject: Re: [gentoo-dev] rfc: making sysvinit optional
Date: Sat, 13 Jul 2019 17:51:20
Message-Id: 20190713175111.GA1512@linux1.home
In Reply to: Re: [gentoo-dev] rfc: making sysvinit optional by William Hubbs
1 All,
2
3 I removed virtual/daemontools from virtual/init because it doesn't
4 appear to be an init process; it is just a service manager.
5
6 Here is a list of the rdepends in my proposed virtual/init with
7 comments.
8
9 kernel_linux? (
10 || (
11 sys-apps/sysvinit
12 # If I add an RDEPEND to sysvinit for sys-apps/openrc and remove
13 # the rdepend on sysvinit from sys-apps/openrc, it will line up
14 # sys-apps/sysvinit with the other inits below.
15 # See below for why it is important that this one is first in
16 # RDEPEND.
17 sys-apps/systemd
18 # This blocks sysvinit if the sysvinit-utils use flag is on,
19 # which it is by default.
20 # If you turn off the use flag, you get the same arrangement
21 # you have with openrc right now.
22 sys-apps/openrc
23 # If I add a sysvinit-utils use flag here, but do *NOT*
24 # force it on, it wouldn't remove sysvinit, so they could
25 # co-exist and you would have to switch via the boot loader.
26 # In fact, they already do co-exist. you have openrc-init
27 # and openrc-shutdown on your system if you have openrc
28 # installed.
29 sys-process/runit
30 # This one has an rdepend on openrc because it uses
31 # openrc in its boot sequence even if you don't use it as
32 # pid 1.
33 # If you are not planning to use runit as pid 1, you would
34 # need to set up the init you want to use with it (upstream
35 # runit doesn't care which one you use, so I don't think I
36 # should either) to stay around by
37 # using something like:
38 # emerge --noreplace init-app
39 # to add it to the world file.
40 )
41 )
42 kernel_FreeBSD? (
43 sys-freebsd/freebsd-bin
44 )
45
46 Another reason for virtual/init is, if I drop the
47 sys-apps/sysvinit rdepend from sys-apps/openrc, sysvinit will not be
48 installed by default any longer, so I would want to add this virtual
49 to the base profile with sysvinit listed first to make sure nothing is
50 broken. Mike, I don't see how this would conflict with systemd.

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] rfc: making sysvinit optional Mike Gilbert <floppym@g.o>