On 07/12/2014 05:27 AM, Tom H wrote:
> On Thu, Jul 10, 2014 at 8:39 AM, Lamar Owen <[log in to unmask]> wrote:
>> On 07/09/2014 08:48 PM, Nico Kadel-Garcia wrote:
>>> The other dirty trick would be to use something like 'mock' to build a
>>> chroot cage, and put your tools inside the chroot cage. ...
>> I have to wonder if the 'Software Collections' framework could work for
>> glibc. Otherwise your solution should work ok, even though it is more than
>> a bit of a kluge.
> Or use lxc on EL6 or lxc or systemd-nspawn on EL7.
From:
http://en.wikipedia.org/wiki/Lxc
LXC is similar to other OS-level virtualization technologies on Linux
such as OpenVZ <http://en.wikipedia.org/wiki/OpenVZ> and Linux-VServer
<http://en.wikipedia.org/wiki/Linux-VServer>, as well as those on other
operating systems such as FreeBSD jails
<http://en.wikipedia.org/wiki/FreeBSD_jail>, AIX
<http://en.wikipedia.org/wiki/AIX> Workload Partitions
<http://en.wikipedia.org/wiki/Workload_Partitions> and Solaris
Containers <http://en.wikipedia.org/wiki/Solaris_Containers>. In
contrast to OpenVZ, LXC works in the vanilla Linux kernel
<http://en.wikipedia.org/wiki/Vanilla_Linux_kernel> requiring no
additional patches to be applied to the kernel sources. Version 1 of the
LXC, which was released on 20 February 2014, is a long-term supported
version and intended to be supported for five years.^[6]
<http://en.wikipedia.org/wiki/Lxc#cite_note-6>
End quote.
The above -- if it works and does not require "excessive" system
resources would be the solution we need, as it has something akin to
real polymorphism. Does it have something akin to inheritance, using
all of the base (native) environment except as needed to avoid
inconsistencies? Can one load, say, the appropriate glibc within a LXC
container without loading what is tantamount to a full OS environment?
Any comments from actual users of LXC or any competitors/alternatives
thereto?\
I am in the field today, and in a time constrained situation, and thus
no time to hunt -- are any of these available via RPMs in a production
release with some sort of built-in configuration tool(s)?
Yasha Karant
|