[lxc-devel] Session Leader

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jan 5 15:48:39 UTC 2015


lcxapi_start calls setsid but not from the task which will become the
container init.

Quoting beproject criu (beprojectcriu at 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.bijlani at 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 <beprojectcriu at 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 at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-devel
> >
> >
> >

> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel



More information about the lxc-devel mailing list