Bug 994357 - virt-sandbox-service execute does not switch into container's cgroup
Summary: virt-sandbox-service execute does not switch into container's cgroup
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt-sandbox
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-07 06:31 UTC by Krishna Raman
Modified: 2020-04-16 17:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-16 17:48:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Krishna Raman 2013-08-07 06:31:18 UTC
Description of problem:
When using virt-sandbox-service execute, the resultant process is switched into the containers namespace but the cgroup remains that or the parent shell, instead of the cgroup of the container

Version-Release number of selected component (if applicable):
libvirt 1.1.1
libvirt-sandbox 5.0.5

How reproducible:
Always

Steps to Reproduce:
1. Create and start LXC container
2. Use virt-sandbox-service execute to switch into container
3. Inspect the cgroup of the resultant process

Actual results:
CGroup remains cgroup of shell from which virt-sandbox-service was started.

Expected results:
CGroup switches to container's cgroup

Additional info:
If we dont change cgroup then any process launched from virt-sandbox-service is not confined to CPU/Memory limits assigned to container.

This is related to Bug #994356

Comment 2 Daniel Berrangé 2020-04-16 17:48:19 UTC
Closing old bug, virt-sandbox-service feature has been deleted.


Note You need to log in before you can comment on or make changes to this bug.