Feature #4577

Add support for running VMs as a different UID

Added by Roy Keene about 5 years ago. Updated about 4 years ago.

Status:PendingStart date:06/15/2016
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Drivers - VM
Target version:Release 5.6
Resolution: Pull request:

Description

Attached is two patches that run QEMU via Libvirt as separate UIDs. The UID is computed as 131072 plus the OID. The GID is also set to the same value.

This requires a patched version of libvirt, which should be available in a new release of libvirt in the future as the patches have been upstreamed.

The two patches are 4.12.1 and 4.90.5. The version 4.12.1 has been tested, while the 4.90.5 has not been tested yet.

opennebula-4.90.5-runasuser.diff Magnifier - Updated patch for OpenNebula 5.0 beta (untested) (9.58 KB) Roy Keene, 06/15/2016 07:47 PM

opennebula-4.12.1-runasuser.diff Magnifier - Patch for OpenNebula 4.12.1 (tested) (9.85 KB) Roy Keene, 06/15/2016 07:48 PM

History

#3 Updated by Ruben S. Montero about 5 years ago

  • Target version set to Release 5.2

Cool, thanks

#4 Updated by Ruben S. Montero almost 5 years ago

  • Priority changed from Normal to High
  • Target version changed from Release 5.2 to Release 5.4

#5 Updated by Ruben S. Montero about 4 years ago

  • Target version changed from Release 5.4 to Release 5.6

Also available in: Atom PDF