Skip to content

Add secured mount wrapper or coarse CAP_SYS_ADMIN for portlayer #4315

@hickeng

Description

@hickeng

Story
As a VIC user I want to be able to pull images
As a security engineer I want all VCH endpointVM components running with least privilege

Detail
We currently mount image disks into the endpointVM in order to extract the image contents. To do so we require sufficient privileges. This means either:

  1. CAP_SYS_ADMIN
  2. sudo mount with pattern matching, but then we'd have to shell out to the mount command
  3. splitting portlayer. storage into a separate component (it was architected for this) with different privileges to the rest of the portlayer components.

Estimate is for (1)

Acceptance
portlayer runs as un-privileged user but can still pull images

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions