[lxc-devel] [PATCH 0/3] Add lxc.rebootsignal and apply to Busybox template

Bogdan Purcareata bogdan.purcareata at freescale.com
Mon Feb 16 09:38:33 UTC 2015


Following the model of lxc.haltsignal and lxc.stopsignal, implement a
lxc.rebootsignal option for a customized reboot signal.

Required for Busybox containers, since Busybox init expects SIGTERM to reboot
the container [1]. Sending SIGINT to a Busybox running container has no effect.

Sent against upstream master.

[1] http://git.busybox.net/busybox/tree/init/init.c#n807

Bogdan Purcareata (3):
  add lxc.rebootsignal
  document lxc.rebootsignal
  lxc-busybox: use lxc.rebootsignal = SIGTERM

 doc/lxc-stop.sgml.in           |   4 +-
 doc/lxc.container.conf.sgml.in | 106 +++++++++++++++++++++++++----------------
 src/lxc/conf.h                 |   1 +
 src/lxc/confile.c              |  14 ++++++
 src/lxc/lxccontainer.c         |   5 +-
 templates/lxc-busybox.in       |   1 +
 6 files changed, 87 insertions(+), 44 deletions(-)

-- 
2.1.4



More information about the lxc-devel mailing list