lcxapi_start calls setsid but not from the task which will become the container init.
Quoting beproject criu (beprojectc...@gmail.com): > Dear LXC Developers, > Does anybody have any idea why lxc-start executable does not make init the > session leader, whereas lxcapi_start function does call setsid() > > On Sat, Jan 3, 2015 at 11:55 AM, Ashish Bijlani <ashish.bijl...@gmail.com> > wrote: > > > Could you reply to this email and ask LXC developers to help….if anyone > > has any idea on this. > > > > Ask why lxc-start executable does not make init the session leader, > > whereas lxcapi_start function does call setsid() > > > > On Dec 25, 2014, at 10:19 AM, beproject criu <beprojectc...@gmail.com> > > wrote: > > > > Dear LXC Developers, > > > > Why init of spawned container is not a session leader?. > > Can i change the session leader of lxc container using hooks,etc? > > If yes, how do i do it. > > > > Thanks. > > > > _______________________________________________ > > lxc-devel mailing list > > lxc-devel@lists.linuxcontainers.org > > http://lists.linuxcontainers.org/listinfo/lxc-devel > > > > > > > _______________________________________________ > lxc-devel mailing list > lxc-devel@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-devel _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel