[CRIU] lxc-checkpoint restore failed

Jason Lee ldm5235 at gmail.com
Tue Oct 20 18:40:50 PDT 2015


Yes,see !
My container version are squeeze and wheezy so dhclient should not apply
this
patch to do UDP checksummng. I have reconfigured the LXC network setting
by static IPs so that it won't use dhclient.

Does the latest version dhclient apply this patch if I install it by source
code?

- Jason Lee

2015-10-21 1:14 GMT+08:00 Tycho Andersen <tycho.andersen at canonical.com>:

> On Mon, Oct 19, 2015 at 09:23:57AM -0600, Tycho Andersen wrote:
> > On Mon, Oct 19, 2015 at 05:12:22PM +0800, Jason Lee wrote:
> > >
> > > dhclient maybe use SOCK_PACKET to acquire IP address. When I kill this
> > > process, CRIU works well !
> >
> > It looks like ubuntu has a patch on dhclient
> > ("udp_checksum_offloading") which switches SOCK_PACKET to SOCK_RAW. As
> > near as I can tell this is the only place in the code base where it's
> > using SOCK_PACKET, so ubuntu's dhclient won't make sockets of this
> > type, which is why I've not seen this before. I've asked the guy who
> > applied the patch how long we'll carry it, but he's on vacation this
> > week. If he says we'll drop it soon, I'll see about adding SOCK_PACKET
> > support.
>
> So it seems we will not be dropping this patch any time soon; on veth
> devices the kernel doesn't do UDP checksumming, so we need this patch
> in dhclient to fill the checksum in in userspace so it behaves
> correctly. Your best bet may be to get this patch into debian, since
> presumably they have the same issue as well.
>
> Tycho
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151021/b6776cbd/attachment-0001.html>


More information about the CRIU mailing list