Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?
Date: Wed, 29 Jun 2011 10:50:03
Message-Id: 4E0B0328.9050104@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems? by Patrick Lauer
1 On 06/29/2011 05:08 AM, Patrick Lauer wrote:
2 > On 06/29/11 03:07, Olivier CrĂȘte wrote:
3 >> Hi,
4 >>
5 >> On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote:
6 >>> The background is that /etc/init.d/functions.sh is a link to
7 >>> /lib/rc/functions.sh, which is part of openrc.
8 >>>
9 >>> Other init systems, like systemd, are coming along which completely
10 >>> replace sysvinit and do not use openrc's init scripts at all. However,
11 >>> since things other than init scripts are using /etc/init.d/functions.sh,
12 >>> all gentoo users are forced to have openrc on their systems whether they
13 >>> use its init scripts or not.
14 >>>
15 >>> As you can see in the bug, I am working on creating a
16 >>> minimalist version of openrc that can be installed to allow users to
17 >>> have access to the functions that are in functions.sh regardless of
18 >>> whether or not they are using openrc's init system.
19 >>>
20 >>> I'm not convinced that this is the best approach, so any input would be
21 >>> greatly appreciated.
22 >> As long as we have Gentoo-style init scripts in the tree, we will need
23 >> these functions to be available. So yes, they should probably be in a
24 >> separate package from openrc itself to ease the transition to the bright
25 >> systemd future.
26 >>
27 > We tolerate the systemd madness as long as it doesn't interfere with
28 > other things.
29 >
30 > But as OpenRC has some rare features ("being able to start and stop
31 > stuff" and "being reasonably fast" among them) and there's no
32 > replacement at the moment I see no reason to add a convoluted mess of
33 > insanity just to feel good.
34 >
35 Hi Patrick,
36
37 I started the madness :) But it wasn't because I didn't prefer openrc
38 over all other init systems, but because I wanted to create minimal
39 chroot environments without any init system whatsoever. In addition to
40 opening up the choice for our users, this also avoids ugly DEPENDs in
41 our ebuilds, like eix or gentoolkit which, strictly speaking, should
42 depend on openrc to provide functions.sh and don't currently.
43
44 --
45 Anthony G. Basile, Ph.D.
46 Gentoo Linux Developer [Hardened]
47 E-Mail : blueness@g.o
48 GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
49 GnuPG ID : D0455535