lcxapi_start calls setsid but not from the task which will become the container init.
Quoting beproject criu ([email protected]): > 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 <[email protected]> > 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 <[email protected]> > > 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 > > [email protected] > > http://lists.linuxcontainers.org/listinfo/lxc-devel > > > > > > > _______________________________________________ > lxc-devel mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-devel _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
