[Lxc-users] Ubuntu template questions

Jäkel, Guido G.Jaekel at dnb.de
Wed Mar 14 07:57:22 UTC 2012


>After some experiments, upstart ignores SIGPWR, but still listens to
>SIGINT, and killing the process from the host works. So modifying the
>containter's control-alt-delete.conf to run "shutdown -h" instead of
>"shutdown -r" can let the host tell the guest to shutdown cleanly.

Dear Fajar,

because a "container reboot" may be emulated externally by a start after a stop, patching the control-alt-delete.conf in such a way will have the most benefits as long as there's no patch for reacting on SIGPWR itself. 

May the patch of control-alt-delete.conf include some detection of the "in-container-situation"? Is it possible to depend it to the (normal) absent  sys_boot  capability inside of a container?

Guido




More information about the lxc-users mailing list