From 352594cc8eaf8bcdac3446cd8317174b1eaadb38d2f11fe552ae5046734de1bd Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 20 Aug 2020 13:45:16 +0000 Subject: [PATCH] - Allow daemon restart again (bsc#1116957) Since some time the kernel moved from netlink sockets to char devices, which is supposed to handle a connection reopen for the kernel<->daemon interface OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=153 --- hyper-v.changes | 8 ++++++++ hyper-v.spec | 13 +++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/hyper-v.changes b/hyper-v.changes index 05baef0..353dfea 100644 --- a/hyper-v.changes +++ b/hyper-v.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Aug 20 12:12:12 UTC 2020 - ohering@suse.de + +- Allow daemon restart again (bsc#1116957) + Since some time the kernel moved from netlink sockets to char + devices, which is supposed to handle a connection reopen for the + kernel<->daemon interface + ------------------------------------------------------------------- Wed Jul 22 12:12:12 UTC 2020 - ohering@suse.de diff --git a/hyper-v.spec b/hyper-v.spec index fe8040d..c4a1eeb 100644 --- a/hyper-v.spec +++ b/hyper-v.spec @@ -135,12 +135,8 @@ ConditionVirtualization=microsoft [Service] Environment="PATH=%{helper_dir}/bin:/usr/sbin:/usr/bin:/sbin:/bin" -# Restart appears to work, but its unsupported -# Reboot required until kernel-user protocol is fixed -ExecStartPre=/usr/bin/mkdir /run/%{hv_kvp_daemon} ExecStart=${bindir}/%{hv_kvp_daemon} --no-daemon -ExecReload=/usr/bin/false -Restart=no +Restart=on-failure [Install] WantedBy=default.target @@ -153,12 +149,8 @@ Description=Hyper-V VSS Daemon ConditionVirtualization=microsoft [Service] -# Restart appears to work, but its unsupported -# Reboot required until kernel-user protocol is fixed -ExecStartPre=/usr/bin/mkdir /run/%{hv_vss_daemon} ExecStart=${bindir}/%{hv_vss_daemon} --no-daemon -ExecReload=/usr/bin/false -Restart=no +Restart=on-failure [Install] WantedBy=default.target @@ -172,6 +164,7 @@ ConditionVirtualization=microsoft [Service] ExecStart=${bindir}/%{hv_fcopy_daemon} --no-daemon +Restart=on-failure [Install] WantedBy=default.target