Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@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 21:48:39
Message-Id: 20110629214613.GA2045@linux1
In Reply to: Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems? by Mike Frysinger
1 On Wed, Jun 29, 2011 at 12:56:32PM -0400, Mike Frysinger wrote:
2 > On Wed, Jun 29, 2011 at 10:57, William Hubbs wrote:
3 > > The third option is for openrc to not install the
4 > >  symbolic link at /etc/init.d/functions.sh since the code is actually at
5 > >  /lib/rc/functions.sh or /libexec/rc/functions.sh on the bsds. If I do
6 > >  that in openrc, that would mean that baselayout or another package
7 > >  would have to provide either a symbolic link in
8 > >  /etc/init.d/functions.sh or a script there that provided the functions
9 > >  if openrc was not available.
10 >
11 > this sounds bad on multiple levels
12
13 Ok, the option that I'm looking at now is to set up openrc so that the
14 init scripts are optional and whether or not they are installed is
15 controlled by a use flag which I will default to on in IUSE. Most people
16 would leave this flag alone, but if you want to use something like
17 systemd and do not want the init scripts or the /etc/runlevels directory
18 on your system, you would just re-emerge
19 openrc with this flag disabled.
20
21 For now this flag will just control init scripts installation, but I
22 will also look into taking it further and not installing other parts of
23 openrc, such as binaries, man pages, etc which are only used if you are
24 working on init scripts.
25
26 Thoughts?
27
28 William

Replies