Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background
Date: Wed, 16 May 2012 12:38:43
Message-Id: 4FB39F2A.2080307@gmail.com
In Reply to: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background by "Canek Peláez Valdés"
1 Canek Peláez Valdés wrote:
2 > On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius
3 > <anikevicius@×××××.com> wrote:
4 >> Hello everybody,
5 >>
6 >> I was wondering if the following is possible:
7 >> - Add a lot of daemons to a newly created runlevel post-default
8 >> - Switch to it after the xdm is started (or after some time)
9 >>
10 >> I want to do this, so that I do not have to wait while non-crucial
11 >> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
12 >> Maybe it is possible to somehow prioritize the initscripts?
13 >>
14 >> Another related question is that I come from Arch and there I could just
15 >> give the *order* of the daemons/initscripts to start and some of them
16 >> could be started and 'in background'. Is it possible to do that with
17 >> openrc? I saw the rc_parallel option in rc.conf, but I do not know,
18 >> whether I need anything else.
19 >
20 > Be aware that the rc_parallel option has never been really supported,
21 > and it actually doesn't appear in the /etc/rc.conf of the one machine
22 > I have access to that still uses OpenRC.
23 >
24 > You may want to try systemd, it sounds like it does (out of the box)
25 > exactly what you want to.
26 >
27 > Regards.
28
29
30 Just to add for the OP, this was discussed on -dev and it was removed,
31 although you can still try it if you want, a good while back because it
32 was causing problems. I don't know anything much about systemsd but
33 according to the devs, you shouldn't use the parallel option with openRC
34 unless you want to keep up with the problems.
35
36 Dale
37
38 :-) :-)
39
40 --
41 I am only responsible for what I said ... Not for what you understood or
42 how you interpreted my words!
43
44 Miss the compile output? Hint:
45 EMERGE_DEFAULT_OPTS="--quiet-build=n"