[lxc-users] LXC, criu and cgroups...
Tycho Andersen
tycho.andersen at canonical.com
Tue Apr 7 21:40:46 UTC 2015
On Tue, Apr 07, 2015 at 11:37:47PM +0200, Dirk Geschke wrote:
> Hi Tycho,
>
> > > So it looks here like a problem wiht lxc-restore-net. But why is
> > > it not able to read netdev-8.img? The file is cleaned up, but
> > > some old, failing syncs show that everyone can read it?
> >
> > This means you're still trying to c/r unprivileged containers, which
> > won't work. You need to set security.privileged in the
> > container config:
> >
> > lxc config set <container> security.privileged true
> >
>
> ah, ok, I did not know this setting so far. I will give it a
> try tomorrow. But at least, I'm sure unprivileged may work soon,
> too. There seems like only some steps are missing...
>
> Maybe one has to move the img-files to the namespace first?
There is a lot of work to be done to support this (both in the kernel
and in criu): http://criu.org/User_namespace
It will work eventually, but for now it doesn't.
Tycho
> Or one should simply skip the tests for the right flags in criu?
>
> 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 |
> +----------------------------------------------------------------------+
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list