On Thu, Jun 30, 2011 at 11:30:51PM +0200, Michał Górny wrote:
> On Thu, 30 Jun 2011 17:16:14 -0400
> Mike Frysinger <vap...@gentoo.org> wrote:
> 
> > On Thu, Jun 30, 2011 at 17:14, Michał Górny wrote:
> > > On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger wrote:
> > >> On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote:
> > >> > On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote:
> > >> > > Ok, the option that I'm looking at now is to set up openrc so
> > >> > > that the init scripts are optional and whether or not they are
> > >> > > installed is controlled by a use flag which I will default to
> > >> > > on in IUSE. Most people would leave this flag alone, but if
> > >> > > you want to use something like systemd and do not want the
> > >> > > init scripts or the /etc/runlevels directory on your system,
> > >> > > you would just re-emerge openrc with this flag disabled.
> > >> > >
> > >> > > For now this flag will just control init scripts installation,
> > >> > > but I will also look into taking it further and not installing
> > >> > > other parts of openrc, such as binaries, man pages, etc which
> > >> > > are only used if you are working on init scripts.
> > >> >
> > >> > Wouldn't it be better to just leave these people with
> > >> > INSTALL_MASK? USEflag means needless rebuilds just for the
> > >> > benefit of one file.
> > >>
> > >> so you're saying the solution for systemd users is to setup
> > >> INSTALL_MASK and we shouldnt worry about tweaking openrc at all ?
> > >
> > > Have you even heard the word called 'context'? It might be too short
> > > for your taste.
> > 
> > perhaps if you focused less on being snarky and more on the thread
> > content, you'd realize that the context here is "providing
> > /etc/init.d/functions.sh support for non-openrc users".  that was the
> > point of William's e-mail that is at the start of this current
> > "context".
> 
> And if you focused more on reading what others write, you'd realize
> that the whole citation here mentions only installing init.d scripts
> and /etc/runlevels?

We are trying to  hash out a way to make /etc/init.d/functions.sh
available to all users, regardless of the init system they are using.

The issue is that right now /etc/init.d/functions.sh is a symbolic link
owned by OpenRC which points to /lib/rc/sh/functions.sh. Also,
/lib/rc/sh/functions.sh in openrc really isn't much of a script, most of the e*
functions are part of the /sbin/rc binary which is a multi call binary.

We have some gentoo base functions which should be available
on all gentoo systems built into the OpenRC init system. This was fine
in the day when OpenRC was the only init system we used, but now it
isn't fine because it is requiring everyone to have OpenRC and sysvinit
installed even if they do not want to use them.

I do not want to deprecate *any* gentoo base functions. I just want to
make them all available in a way that does not force a dependency on
OpenRC and sysvinit.

The discussion on the bug has now evolved to having a separate package,
gentoo-base-functions, that provides these base functions.

William

Attachment: pgpodFV8Q0eeX.pgp
Description: PGP signature

Reply via email to