Re: [PATCH] Fix reboot command for LXC containers

2021-12-02 Thread Joachim Falk
Hi Michal, Am 02.12.21 um 16:02 schrieb Michal Prívozník: > On 12/1/21 22:38, Joachim Falk wrote: >> The virNetDaemonQuit(dmn) command in virLXCControllerSignalChildIO triggers >> an >> early close of all clients of lxc_controller. Here, libvirtd itself is a >> c

[PATCH] Fix reboot command for LXC containers

2021-12-02 Thread joachim . falk
From: Joachim Falk The virNetDaemonQuit(dmn) command in virLXCControllerSignalChildIO triggers an early close of all clients of lxc_controller. Here, libvirtd itself is a client of this controller, and the client connection is used to notify libvirtd if a reboot of the container is required

[PATCH] Fix reboot command for LXC containers

2021-12-01 Thread Joachim Falk
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991773 Signed-off-by: Joachim Falk --- src/lxc/lxc_controller.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c index 444f728af4..75107822ba