- 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
This commit is contained in:
Olaf Hering 2020-08-20 13:45:16 +00:00 committed by Git OBS Bridge
parent db47c6ea84
commit 352594cc8e
2 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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