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 1MDf6Q-0008Jz-Rp for garchives@archives.gentoo.org; Mon, 08 Jun 2009 13:41:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E74A9E02D6; Mon, 8 Jun 2009 13:41:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C1E00E02D6 for ; Mon, 8 Jun 2009 13:41:28 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5610664308; Mon, 8 Jun 2009 13:41:28 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: Roy Marples Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) Date: Mon, 8 Jun 2009 09:41:25 -0400 User-Agent: KMail/1.11.3 (Linux/2.6.29.4; KDE/4.2.3; x86_64; ; ) Cc: gentoo-dev@lists.gentoo.org References: <20090607195950.GI22927@orbis-terrarum.net> <200906080908.06765.vapier@gentoo.org> <4A2D0D97.2090601@marples.name> In-Reply-To: <4A2D0D97.2090601@marples.name> 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: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906080941.27411.vapier@gentoo.org> X-Archives-Salt: 2ba60621-984d-4796-8cc6-0406f65cacdc X-Archives-Hash: 60d800df90b97871f190d674104ab337 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