Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] visualise openrc initscript start order and dependency tree
Date: Fri, 08 Nov 2019 20:09:34
Message-Id: 2276965.hZO2IdQJky@poseidon
In Reply to: [gentoo-user] visualise openrc initscript start order and dependency tree by Bill Kenworthy
1 On Thursday, November 7, 2019 1:37:21 PM CET Bill Kenworthy wrote:
2 > I have run into some problems creating openrc initscripts for moosefs -
3 > is there something that will display the start order/dependency tree?
4 > Text or graphical doesn't matter.
5 >
6 > Bill K.
7
8 The closest to this is:
9
10 /lib/rc/bin/rc-depend xdm
11
12 (This will return ALL the services that need to be started before "xdm" can
13 start, according to the dependencies)
14 This can also be executed as a normal (NON-root) user.
15
16 To force a regen of the dependency-tree, you can issue:
17 "/lib/rc/bin/rc-depend --update" (This does require root)
18
19 --
20 Joost