Patent ID: 8484641

Claim:
A method comprising: creating a workload partition, associated with a legacy operating system, on an instance of a base operating system implemented on a machine, wherein the legacy operating system is an earlier version of the base operating system, wherein the legacy operating system includes a plurality of legacy commands; in response to determining that a first subset of the legacy commands has a dependency on content of the base operating system, overlaying the first subset of the legacy commands with a reference to a runtime execution wrapper associated with the base operating system, wherein a second subset of the legacy commands are not overlaid; detecting an indication to execute a first command associated with a process of the workload partition associated with the legacy operating system; in response to determining that the first command associated with the process of the workload partition associated with the legacy operating system was overlaid with the reference to the runtime execution wrapper associated with the base operating system, performing operations comprising: executing the runtime execution wrapper to access a runtime execution environment associated with the base operating system, and executing the first command using the runtime execution environment associated with the base operating system; and in response to determining that the first command was not overlaid with the reference to the runtime execution wrapper, executing the first command using the runtime execution environment associated with the legacy operating system; in response to determining that the process of the workload partition is a raised privilege process, determining a modified library path set by the runtime execution wrapper is being ignored, and re-selecting the modified library path; and in response to determining that the process of the workload partition is not the raised privilege process, following the modified library path.