[CRIU] Error in Dumping LXC container running Ubuntu

Pavel Emelyanov xemul at parallels.com
Tue Mar 10 13:42:50 PDT 2015


On 03/10/2015 11:32 PM, John Statham wrote:
> Hi,
> I m getting the following error in dumping lxc container
> Error (mount.c:993): binfmt_misc isn't empty: jarwrapper

You have a binfmt_misc filesystem mountpoint inside the container
and there's a rule in it (java's jarwrapper). CRIU doesn't know
(yet) what to do with these rules, so it just ignores to dump this
mountpoint.

The options to overcome this are

1) ignore and hope that on restore the respective rule would
   appear itself or otherwise nobody would notice it's missing

2) save the rules into the image files and put them back on 
   restore

The 2nd path is more preferable, but since the binfmt_misc is
currently global filesystem, restoring arbitrary stuff into
it would be seen not only inside the container, but on host and
inside other containers too. Not sure how bad is it though :)

Thanks,
Pavel

> I have attached the dump.log if required for reference.
> 
> Can anybody help me in resolving this?
> 
> Thanks,
> John
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list