public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: making sysvinit optional
Date: Wed, 10 Jul 2019 19:19:18 -0500	[thread overview]
Message-ID: <20190711001918.GA8354@whubbs1.dev.av1.gaikai.org> (raw)
In-Reply-To: <20190711000332.GA6104@whubbs1.dev.av1.gaikai.org>

[-- Attachment #1: Type: text/plain, Size: 1981 bytes --]

I'm replying, because there is one more thing I want to add before I
head out.

On Wed, Jul 10, 2019 at 07:03:32PM -0500, William Hubbs wrote:
> On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote:
> > On 7/10/19 7:16 PM, William Hubbs wrote:
> > > 3. add a sysvinit use flag to openrc, which will be off by default. When
> > > it is on, openrc will block sysvinit since it will provide /sbin/init
> > > and /sbin/shutdown.
> > > 
> > 
> > This logic, or maybe the name of the flag, sounds backwards to me. I
> > only get sysvinit when USE=sysvinit is NOT set?
> 
> If you don't set sys-apps/openrc[sysvinit], you would have /sbin/init
> and /sbin/shutdown as they are now, from sys-apps/sysvinit.
> 
> If you do set sys-apps/openrc[sysvinit], /sbin/init and /sbin/shutdown
> would become wrappers for  /sbin/openrc-init and /sbin/openrc-shutdown.
> 
> Actually, I'm thinking that the use flag can't happen until the next
> OpenRC release, because I need to set up openrc-shutdown so it can shut down
> a system that is booted with sysvinit first.
> 
> > 
> > 
> > 
> > > RDEPEND="
> > > 		kernel_linux? (
> > > 		|| (
> > > 		sys-apps/sysvinit

Since sysvinit is first in the rdepend it will be the first choice to be
installed. In other words, no systems would be affected unless they
forcibly unmerge sysvinit. The others below are alternatives.

> > > 			sys-apps/systemd
> > > 			sys-apps/openrc
> > > 			sys-process/runit
> > > 			virtual/daemontools

This one I need to look at, because I'm not actually sure if it provides
an init.

> > > 	)
> > 
> > Modulo my first comment, you'll want some USE flag (un)set for
> > sys-apps/openrc to ensure that /sbin/init is provided.
> 
> I am willing to be convinced, but I'm not sure all providers of a virtual
> are required to provide the same binaries. A couple of examples off the
> top of my head are virtual/editor, virtual/logger and virtual/mta.

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  parent reply	other threads:[~2019-07-11  0:19 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
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 [this message]
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=20190711001918.GA8354@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