From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB9661384B4 for ; Thu, 3 Dec 2015 16:48:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8129E21C07D; Thu, 3 Dec 2015 16:48:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90F4A21C075 for ; Thu, 3 Dec 2015 16:47:59 +0000 (UTC) Received: from localhost (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 2CABC340A69 for ; Thu, 3 Dec 2015 16:47:58 +0000 (UTC) Date: Thu, 3 Dec 2015 10:47:38 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: generic "container" keyword for init scripts Message-ID: <20151203164738.GA28640@whubbs1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <565db8b9.57adca0a.f4026.1702@mx.google.com> <20151201165038.GA2038@whubbs1.gaikai.biz> <565DD247.2010108@gentoo.org> <20151201172619.GB2038@whubbs1.gaikai.biz> <20151201181901.GA7346@whubbs1.gaikai.biz> <565DF34D.2090002@gentoo.org> <20151201212844.GA2154@whubbs1.gaikai.biz> <20151202234932.GA28393@whubbs1.gaikai.biz> <565FDF31.8000504@gentoo.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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <565FDF31.8000504@gentoo.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: a4bc00da-ee1b-49b2-86c7-662d60583c4f X-Archives-Hash: d700f8c01207cc8fa8f8489c47d5f88f --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 02, 2015 at 10:20:33PM -0800, Zac Medico wrote: > On 12/02/2015 03:49 PM, William Hubbs wrote: > > On Tue, Dec 01, 2015 at 03:28:44PM -0600, William Hubbs wrote: > > Here is where my thoughts are on this now. There will be a > > "-containers" keyword, which will expand to list all of the containers > > we can detect on the operating system OpenRC is running on -- for > > example, on Linux it might be: > >=20 > > "-docker -lxc -openvz -rkt -systemd-nspawn -vserver" > >=20 > > So any time you list -containers as a keyword it would expand > > appropriately. >=20 > Sounds good. >=20 > >> OpenRC currently doesn't do any detection of virtual machines, so maybe > >> that could be another expansion of this -- add a keyword "vm" and > >> keywords for the virtual machines. > > =20 > > VM's will be a separate project that I will look at later. > >=20 > > Thoughts? >=20 > How about a bare-metal keyword? In OpenRC, the keywords block services from running in the listed environments, so once I get the containers and vms implemented, bare metal would be something like: keyword -containers -vms the idea being that if it isn't a container or vm that I know how to detect, it is bare metal. William --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZgcioACgkQblQW9DDEZTjzxQCgmAuwp+XB+UOJqLpabPtoiT8S vqEAoIVuaDWIKZufKHC/4zfc2Hg0qFUO =oLMj -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--