[CRIU] p.haul: fix path to freezer cgroup for Virtuozzo containers

Submitted by Nikita Spiridonov on June 22, 2016, 12:19 p.m.

Details

Message ID 1466597978-42337-1-git-send-email-nspiridonov@virtuozzo.com
State New
Series "p.haul: fix path to freezer cgroup for Virtuozzo containers"
Headers show

Commit Message

Nikita Spiridonov June 22, 2016, 12:19 p.m.
Fix path to freezer cgroup which phaul passes to criu on predumps
and final dump.

Signed-off-by: Nikita Spiridonov <nspiridonov@virtuozzo.com>
---
 phaul/p_haul_vz.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
index 50e4ba7..36e4c75 100644
--- a/phaul/p_haul_vz.py
+++ b/phaul/p_haul_vz.py
@@ -152,7 +152,7 @@  class p_haul_type:
 
 			# Specify freezer cgroup
 			req.opts.freeze_cgroup = \
-				"/sys/fs/cgroup/freezer/{0}/".format(self._ctid)
+				"/sys/fs/cgroup/freezer/machine.slice/{0}/".format(self._ctid)
 
 			# Increase timeout up to 180 seconds
 			req.opts.timeout = 180

Comments

Pavel Emelyanov July 15, 2016, 5:42 p.m.
Applied