Gentoo Archives: gentoo-dev

From: Tom Wijsman <TomWij@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eselect init
Date: Sun, 26 May 2013 14:01:08
Message-Id: 20130526155851.581fb8ce@TOMWIJ-GENTOO
In Reply to: Re: [gentoo-dev] eselect init by "J. Roeleveld"
1 On Sun, 26 May 2013 14:59:28 +0200
2 "J. Roeleveld" <joost@××××××××.org> wrote:
3
4 > As an example. Lets say I want to test a new init-system. [SNIP]
5 > If I then, accidentally, type "/etc/init.d/xyz start" when "xyz"
6 > hasn't been started by any means yet. What will happen?
7 > I would assume that openrc will try to start "xyz"?
8
9 As I said before:
10
11 > > They currently just bail out with bogus errors as far as I am aware.
12 > >
13 > > # /etc/init.d/ntpd start
14 > > ntpd | * WARNING: ntpd is already starting
15 > > # /etc/init.d/ntpd stop
16 > > ntpd | * ERROR: ntpd stopped by something else
17 >
18 > See above, what about if "ntpd" wasn't running yet?
19
20 ntpd isn't running on my system and wasn't when I did that.
21
22 > > No, if you keep the init system the same as the one you boot with
23 > > there should be no problems.
24 >
25 > See above, what about trying to start services using the method of the
26 > not-running init?
27
28 The same, feel free to emerge systemd and try to start a service; I
29 expect this to bail out since its dependencies aren't started, for its
30 dependencies to start the init system itself should be in use.
31
32 --
33 With kind regards,
34
35 Tom Wijsman (TomWij)
36 Gentoo Developer
37
38 E-mail address : TomWij@g.o
39 GPG Public Key : 6D34E57D
40 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

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