[Pkg-libvirt-maintainers] Bug#803714: libvirt-guests shutdown timeout ignored by systemd service stop timeout
Sebastian Schweizer
sebastian at schweizer.tel
Sun Nov 1 22:36:04 UTC 2015
Package: libvirt-daemon-system
Version: 1.2.9-9+deb8u1
In /etc/default/libvirt-guests the default timeout for guests shutting
down or suspending on host shutdown/reboot is 300 seconds. However,
systemd has timeouts for service units to stop. The default is 90
seconds, as viewable by:
systemctl show libvirt-guests | grep Timeout
We should specify a timeout in the libvirt-guests.service file, ideally
take directly the configured timeout from /etc/default/libvirt-guests .
As workaround, I created a systemd drop-in file:
/etc/systemd/system/libvirt-guests.service.d/local-timeout.conf:
[Service]
TimeoutStopSec=300
The bug was already reported to Fedora, see
https://bugzilla.redhat.com/show_bug.cgi?id=1195544 for further details
and consequences.
More information about the Pkg-libvirt-maintainers
mailing list