Gentoo Archives: gentoo-dev

From: Roy Marples <roy@×××××××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646)
Date: Mon, 08 Jun 2009 14:00:34
Message-Id: 4A2D1977.8050401@marples.name
In Reply to: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) by Mike Frysinger
1 Mike Frysinger wrote:
2 > On Monday 08 June 2009 09:09:43 Roy Marples wrote:
3 >> Mike Frysinger wrote:
4 >>> if openrc versions are causing a level of incompatibility, then it should
5 >>> itself be setting up an env var for init.d scripts to key off of rather
6 >>> than having to figure out what's going on via the filesystem. the point
7 >>> of this thread is to detect baselayout-1 vs openrc only.
8 >> RC_VERSION is available in 0.5.0
9 >> However, for VServer it needs to be easily available without running
10 >> anything, hence this discussion.
11 >
12 > if it's in the execution environment of the init.d script,nothing was run
13 > -mike
14
15 You would have to ask the VServer team, but my understanding was they
16 needed to detect version of OpenRC in a container from the host before
17 the container is started.
18
19 Thanks
20
21 Roy

Replies