[lxc-users] LXC, criu and cgroups...

Dirk Geschke dirk at lug-erding.de
Tue Apr 7 10:26:42 UTC 2015


Hi Tycho,

> > Ah, that sounds good. I'm excited to test it.
> > 
> > I guess this is a patch for lxc-1.1.x and not lxd-0.5 or criu?
> 
> Yes, it's a liblxc patch (or rather, a series of patches).

hmm, I think this patch is now part of lxc, at least a git pull
installed a lot of files and the log mentions things like:

   c/r: teach criu about cgmanager's socket

But it still fails. An lxc-checkpoint of an unprivileged container
results in

   Error (mount.c:636): 141:./sys/fs/cgroup/cgmanager is overmounted

The same is for lxd and move command, with cgmanager I get:

   Found cgmanager mapping for ./sys/fs/cgroup/cgmanager mountpoint
   Found cgmanager mapping for ./sys/fs/cgroup/cgmanager mountpoint
   Error (mount.c:636): 92:./sys/fs/cgroup/cgmanager is overmounted

and if I mount cgroup on /sys/fs/cgroup:

   Error (mount.c:624): 74:./sys/fs/cgroup/cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,debug/lxc/ubuntix doesn' t have a proper root mount

BTW: What is the right one with lxd? Using cgmanager oder direct mount
     cgroup to /sys/fs/cgroup?

If I enable Memory Tracking with kernel 4.0.0-rc6 I get now:

   # criu check
   Looks good.

Do I miss something?

Best regards

Dirk
-- 
+----------------------------------------------------------------------+
| Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
| Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
| dirk at geschke-online.de / dirk at lug-erding.de  / kontakt at lug-erding.de |
+----------------------------------------------------------------------+


More information about the lxc-users mailing list