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

Nikita Spiridonov nspiridonov at virtuozzo.com
Wed Jun 22 05:19:38 PDT 2016


Fix path to freezer cgroup which phaul passes to criu on predumps
and final dump.

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

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
-- 
1.7.1



More information about the CRIU mailing list