Quoting spaceman (space...@antispaceman.com):
> Serge E. Hallyn wrote:
> 
> Hi,
> 
> >> # /etc/rc.d/rc.local
> >> 
> >> /usr/bin/runsvdir /services &
> >
> >Is it pid 1 doing this?  Does it go on to exit?
> >
> 
> pid 1 for the container is init which sets off the boot process and
> operates normally and doesn't exit. Don't really understand the
> question.

"pid 1 sets off the boot process" != "pid 1 forks+execs
 /usr/bin/runsvdir /services & and then exits".

If the latter happens, then you'll need to have pid 1 stick around
somehow.  When pid 1 exits, the container gets killed.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to