From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDF07138334 for ; Wed, 10 Jul 2019 23:16:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76FE6E08C8; Wed, 10 Jul 2019 23:16:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29F25E087E for ; Wed, 10 Jul 2019 23:16:19 +0000 (UTC) Received: from whubbs1.gaikai.biz (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 64E253476B5 for ; Wed, 10 Jul 2019 23:16:17 +0000 (UTC) Received: (nullmailer pid 4545 invoked by uid 1000); Wed, 10 Jul 2019 23:16:14 -0000 Date: Wed, 10 Jul 2019 18:16:14 -0500 From: William Hubbs To: gentoo development Subject: Re: [gentoo-dev] rfc: making sysvinit optional Message-ID: <20190710231614.GA3597@whubbs1.dev.av1.gaikai.org> Mail-Followup-To: gentoo development References: <20190710202528.GA24935@whubbs1.dev.av1.gaikai.org> <20190710214846.GA31047@whubbs1.dev.av1.gaikai.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <20190710214846.GA31047@whubbs1.dev.av1.gaikai.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 70333df2-8206-4fd2-8ae3-84985a784552 X-Archives-Hash: 822998b060cc61adb13a4cbbbc4e58bd --K8nIJk4ghYZn606h Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > I have this bug against openrc: > >=20 > > https://bugs.gentoo.org/599468 > >=20 > > 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. > >=20 > > 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. > >=20 > > Does anyone have any ideas wrt how to do this? >=20 > 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 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="init-0.ebuild" # 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 )" --17pEHd4RhPHOinZp-- --K8nIJk4ghYZn606h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iFwEARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCXSZxsQAKCRBuVBb0MMRl OMXMAJiiMcCUqZtqFe5BL8Pu9qUFqsdDAJsFGOxPIWvkosIxdN80Ls0EgFon7g== =3hqw -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--