[CRIU] Migrating between two lxc hosts using criu

Andrei Vagin avagin at virtuozzo.com
Mon Oct 2 22:57:35 MSK 2017


On Sun, Sep 24, 2017 at 05:17:04PM +0300, Eytan Heidingsfeld wrote:
> Hi,
> I'm trying to migrate an unprivileged container between two lxc hosts using
> criu, using bindfs on both hosts to make sure the uid/gid match.
> The restore fails with:
> 
> """
> 1: Error (criu/cr-restore.c:1417): mkdtemp failed crtools-proc.K9qSPw:
> Permission denied
> """
> 
> Looking at the code it's trying to create a tmp dir for /proc but fails, I
> don't know where to continue looking.

What version of criu do you use?

Could you show /proc/pid/mountinfo for the init process of your
container?

Thanks,
Andrei

> 
> Thanks in Advance,
> Eytan

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list