On Monday 08 June 2009 10:00:23 Roy Marples wrote: > 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 > > 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.
if systems need crazy restrictions, these things should be clearly documented (preferably in a file in the openrc tree itself). otherwise we waste time talking about stuff none of us have the foggiest clue about. so until the vserver team opts to chime in, i dont think there's anything left here. the original issue can be handled via sbin/functions.sh (unless someone has a reason why not) -mike
