[lxc-devel] [Q] different from behavior of lxc-stop and description of man page

Serge Hallyn serge.hallyn at ubuntu.com
Mon Dec 23 04:51:17 UTC 2013


Quoting KATOH Yasufumi (karma at jazz.email.ne.jp):
> Hi,
> 
> When I translated lxc-stop(1) into Japanese, I had a question.
> 
> When -s option is specified, according to the man page, 
> > Only request a clean shutdown, do not kill the container tasks if
> > the clean shutdown fails.
> 
> I thought this means that even if lxc-stop -s fails shutdown, it does
> not kill the container. But at this time, "lxc-stop -s" calls
> c->stop(), then the container is killed, if timeout > 0.
> 
> Is the man page wrong? Or I mistake?     

Hm, the default appears to be a timeout of 60 seconds before we
hard kill the container, so yes the manpage should be updated to reflect
that.

thanks,
-serge


More information about the lxc-devel mailing list