FS#65870 - [spice-vdagent] 0.20.0 Server Does Not Shut Down Properly

Attached to Project: Community Packages
Opened by Ron Lovell (jrl64) - Tuesday, 17 March 2020, 22:14 GMT
Last edited by Balló György (City-busz) - Thursday, 28 May 2020, 09:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

The spice-vdagentd daemon fails to shut down properly during shutdown of my Arch QEMU-KVM guest since the upgrade from 0.19.0 to 0.20.0 yesterday. After a 90 second delay (the systemd default) systemd times out the spice-vdagent.service unit and sends SIGKILL to the daemon. The server starts again normally on system startup, so ASAIK it's just a delay shutting down which could be limited by using a non-default timeout value in the spice-vdagent unit file.

My openSUSE Tumbleweed guest shows identical symptoms since it upgraded to 0.20.0 yesterday.

I just created a new Freedesktop.org Gitlab account and filed Issue #18 against spice > linux > vd_agent.

Additional info:
* spice-vdagent 0.20.0-1
* See attached excerpt from journal during shutdown
* https://gitlab.freedesktop.org/spice/linux/vd_agent/issues/18

Steps to reproduce:
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 28 May 2020, 09:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  spice-vdagent 0.20.0+6+g8adf50d-1
Comment by Ron Lovell (jrl64) - Friday, 27 March 2020, 16:42 GMT
I just received a notification from upstream Freedesktop.org on vd_agent Issue #18:

Issue was closed by Jakub Janků via commit 9b8c0ebb9fb573e6ce3c5416371509f416503d0c

See the link listed in the report. The merge requests include:
vdagentd - Fork early because of GLib
test-termination - Check daemon terminates correctly sending SIGTERM

Looking at the repo master branch it appears they were committed on 26 March.

Update 28 May 2020: Update spice-vdagent-0.20.0+6+g8adf50d-1 does resolve the issue
on my system. Thanks, guys!


Comment by Hassan Mohamad (hmohamad) - Saturday, 18 April 2020, 16:51 GMT
I can confirm that this issue is fixed by using the spice-vdagent-git package from the AUR (tested with 0.20.0.4.g5654f4d-1).

Loading...