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


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]

On Wed, Jul 10, 2019 at 04:48:46PM -0500, William Hubbs wrote:
> On Wed, Jul 10, 2019 at 03:25:28PM -0500, William Hubbs wrote:
> > All,
> > 
> > I have this bug against openrc:
> > 
> > https://bugs.gentoo.org/599468
> > 
> > The reason for the hard dependency on sysvinit in OpenRC no longer
> > exists since we now have a replacement for killall5, and some people
> > want to use openrc and remove sysvinit from their systems.
> > 
> > Before I drop the dependency on sysvinit from OpenRC, we need a way to
> > install both but not force sysvinit to be installed if someone removes
> > it later.
> > 
> > Does anyone have any ideas wrt how to do this?
> 
> Someone suggested that we need virtual/init, so I will take a look at
> that possibility.

I am attaching my first crack at virtual/init.
This is a virtual for packages which provide some kind of init process.

If no one has responded in 48-72 hours, I will do the following:

1. add this to the tree
2. add it to profiles/base/packages.
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.

Thoughts?

William


[-- Attachment #1.2: init-0.ebuild --]
[-- Type: text/plain, Size: 511 bytes --]

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Virtual for various init processes"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="kernel_FreeBSD kernel_linux"

RDEPEND="
		kernel_linux? (
		|| (
		sys-apps/sysvinit
			sys-apps/systemd
			sys-apps/openrc
			sys-process/runit
			virtual/daemontools
	)
	)
	kernel_FreeBSD? (
		sys-freebsd/freebsd-bin
	)"

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

  reply	other threads:[~2019-07-10 23:16 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 [this message]
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
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=20190710231614.GA3597@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