]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: force kill of init process by sending SIGKILL if needed
authorRyota Ozaki <ozaki.ryota@gmail.com>
Thu, 22 Jul 2010 16:57:43 +0000 (18:57 +0200)
committerDaniel Veillard <veillard@redhat.com>
Thu, 22 Jul 2010 16:57:43 +0000 (18:57 +0200)
commit7af5f4689f63bc6ffec441178166c562fee28bc6
treecb1ed2b02d60344fd763b182755d432ed73d0835
parentae3d31bf4f3ada5cfbe43891a133e8697755bb99
lxc: force kill of init process by sending SIGKILL if needed

Init process may remain after sending SIGTERM for some reason.
For example, if original init program is used, it is definitely
not killed by SIGTERM.

* src/lxc/lxc_controller.c: kill with SIGKILL if SIGTERM wasn't
  sufficient
src/lxc/lxc_controller.c