From: Alexey Dobriyan Subject: Re: C/R without "leaks" (was: Re: Creating tasks on restart: userspace vs kernel) Date: Thu, 16 Apr 2009 20:12:15 +0400 Message-ID: <20090416161215.GA8505@x200.localdomain> References: <49E40662.2040508@cs.columbia.edu> <20090414163633.GE27461@x200.localdomain> <49E4D89D.9060903@cs.columbia.edu> <20090415195629.GD26994@x200.localdomain> <1239835337.6610.6.camel@bahia> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1239835337.6610.6.camel@bahia> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Greg Kurz Cc: Linux-Kernel , Dave Hansen , containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, Andrew Morton , Linus Torvalds , Ingo Molnar List-Id: containers.vger.kernel.org On Thu, Apr 16, 2009 at 12:42:17AM +0200, Greg Kurz wrote: > On Wed, 2009-04-15 at 23:56 +0400, Alexey Dobriyan wrote: > > There are sockets and live netns as the most complex example. I'm not > > prepared to describe it exactly, but people wishing to do C/R with > > "leaks" should be very careful with their wishes. > > They should close their sockets before checkpoint and find/have some way > to reconnect after. This implies some kind of C/R awareness in the code > to be checkpointed. How do you imagine sshd closing sockets and reconnecting?