mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
virtlo(g|ck)d: Fix exec-restart
Commit94e45d1042
broke exec-restart of virtlogd and virtlockd as the code waiting for the daemon shutdown closed the daemons before exec-restarting. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1912243 Fixes:94e45d1042
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c363f03e6d
commit
ccc6dd8f11
@ -336,7 +336,7 @@ virLockDaemonExecRestartHandler(virNetDaemonPtr dmn,
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
execRestart = true;
|
||||
virNetDaemonQuit(dmn);
|
||||
virNetDaemonQuitExecRestart(dmn);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -283,7 +283,7 @@ virLogDaemonExecRestartHandler(virNetDaemonPtr dmn,
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
execRestart = true;
|
||||
virNetDaemonQuit(dmn);
|
||||
virNetDaemonQuitExecRestart(dmn);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user