]> xenbits.xensource.com Git - libvirt.git/commit
lxc: Try harder to stop/reboot containers
authorMaxim Kozin <kolomaxes@gmail.com>
Wed, 6 Mar 2019 18:39:11 +0000 (21:39 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Mar 2019 17:02:51 +0000 (18:02 +0100)
commit14b6a1854fb4c02c5fb2f51679f8ff099f28f53c
tree35bd057c5b34b8c3496a7510cd874062d3a52f78
parent3d46d4a1bc8eac9b3110d2cfe442b3e241c81418
lxc: Try harder to stop/reboot containers

If shutting down a container via setting the runlevel fails, the
control jumps right onto endjob label and doesn't even try
sending the signal. If flags allow it, we should try both
methods.

Signed-off-by: Maxim Kozin <kolomaxes@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/lxc/lxc_driver.c