- 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:
parent
db47c6ea84
commit
352594cc8e
@ -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
|
||||
|
||||
|
13
hyper-v.spec
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user