From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: making sysvinit optional
Date: Thu, 11 Jul 2019 10:56:33 -0500 [thread overview]
Message-ID: <20190711155633.GB460@whubbs1.dev.av1.gaikai.org> (raw)
In-Reply-To: <CAGfcS_m9URzV5ZyoL1jfnxdbAWW903BD4qCWjr7FCVYdtgvcOQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
On Thu, Jul 11, 2019 at 09:42:02AM -0400, Rich Freeman wrote:
> On Wed, Jul 10, 2019 at 11:02 PM William Hubbs <williamh@gentoo.org> wrote:
> >
> > > RDEPEND="sysv-utils? ( !sys-apps/sysvinit )
> > > !sysv-utils? ( sys-apps/sysvinit )"
> >
> > I like this, but the second branch (!sysv-utils) is not really needed,
> > because if we put sysvinit as the first RDEPEND of virtual/init, we
> > don't need to worry about installing it through rdepend in openrc.
>
> Does openrc actually work with all the stuff you have in your proposed
> virtual/init?
Remember that OpenRC wasn't originally an init process at all. it was
designed to work with any init process you want it to work with. That
hasn't changed, I've just added an init to it which you can use if you
want.
> For example, you have systemd in there. I'm pretty sure you can't use
> systemd as PID1 and then use openrc as your service manager. I mean,
> you probably could come up with some way to do that, but certainly
> openrc doesn't work that way today, or systemd for that matter.
There is nothing stopping you from that on the openrc side. It would
take a lot of custom systemd units to make it work, but that is an
exercise for the reader.
> You have runit in there as well. Can you use runit as PID1 and openrc
> as your service manager?
Sure. There's no reason you can't.
> If the only init implementations that openrc actually works with are
> sysvinit and its own init, then I'd just do it the systemd way. The
> init virtual only adds value insofar as these other packages actually
> provide an init that any other service manager could actually use.
OpenRC doesn't really care what you use for an init, you just have to
make the init do the equivalent of what is in /etc/inittab.
William
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2019-07-11 15:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 20:25 [gentoo-dev] rfc: making sysvinit optional William Hubbs
2019-07-10 21:48 ` William Hubbs
2019-07-10 23:16 ` William Hubbs
2019-07-10 23:30 ` Michael Orlitzky
2019-07-11 0:03 ` William Hubbs
2019-07-11 0:17 ` Michael Orlitzky
2019-07-11 3:14 ` William Hubbs
2019-07-11 13:01 ` Michael Orlitzky
2019-07-11 15:43 ` William Hubbs
2019-07-11 16:11 ` Michael Orlitzky
2019-07-11 17:03 ` William Hubbs
2019-07-11 0:17 ` Rich Freeman
2019-07-11 3:02 ` William Hubbs
2019-07-11 13:42 ` Rich Freeman
2019-07-11 15:56 ` William Hubbs [this message]
2019-07-11 16:46 ` Rich Freeman
2019-07-11 17:22 ` William Hubbs
2019-07-11 17:38 ` Rich Freeman
2019-07-11 15:39 ` Mike Gilbert
2019-07-11 16:43 ` William Hubbs
2019-07-11 0:19 ` William Hubbs
2019-07-13 17:51 ` William Hubbs
2019-07-14 13:54 ` Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190711155633.GB460@whubbs1.dev.av1.gaikai.org \
--to=williamh@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox