Re: [libvirt] [PATCH RFC 2/5] lxc: make container's init process session leader

2016-07-22 Thread Daniel P. Berrange
On Thu, Jul 21, 2016 at 03:37:24PM +, Katerina Koukiou wrote: > This patch forces container's init process, to become a session leader, > that is its session ID is made the same as its process ID. > That might seem unnecessary in general, but if we want to checkpoint a > container with CRIU,

[libvirt] [PATCH RFC 2/5] lxc: make container's init process session leader

2016-07-21 Thread Katerina Koukiou
This patch forces container's init process, to become a session leader, that is its session ID is made the same as its process ID. That might seem unnecessary in general, but if we want to checkpoint a container with CRIU, which is needed for container migration, we must ensure that the SID of