From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MDfOs-0003q4-II for garchives@archives.gentoo.org; Mon, 08 Jun 2009 14:00:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C5BDE02F5; Mon, 8 Jun 2009 14:00:33 +0000 (UTC) Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EF9EE02F5 for ; Mon, 8 Jun 2009 14:00:33 +0000 (UTC) Received: from [10.44.2.150] (host81-149-27-23.in-addr.btopenworld.com [81.149.27.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTPSA id 49E0827B1B for ; Mon, 8 Jun 2009 15:00:32 +0100 (BST) Message-ID: <4A2D1977.8050401@marples.name> Date: Mon, 08 Jun 2009 15:00:23 +0100 From: Roy Marples User-Agent: Thunderbird 2.0.0.21 (X11/20090521) 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) References: <20090607195950.GI22927@orbis-terrarum.net> <200906080908.06765.vapier@gentoo.org> <4A2D0D97.2090601@marples.name> <200906080941.27411.vapier@gentoo.org> In-Reply-To: <200906080941.27411.vapier@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: bc9dc885-6c30-4730-a039-4ed991ebab87 X-Archives-Hash: 41c6c45ad6216fb75c7334967a982130 Mike Frysinger wrote: > On Monday 08 June 2009 09:09:43 Roy Marples wrote: >> Mike Frysinger wrote: >>> if openrc versions are causing a level of incompatibility, then it should >>> itself be setting up an env var for init.d scripts to key off of rather >>> than having to figure out what's going on via the filesystem. the point >>> of this thread is to detect baselayout-1 vs openrc only. >> RC_VERSION is available in 0.5.0 >> However, for VServer it needs to be easily available without running >> anything, hence this discussion. > > if it's in the execution environment of the init.d script,nothing was run > -mike You would have to ask the VServer team, but my understanding was they needed to detect version of OpenRC in a container from the host before the container is started. Thanks Roy