On Mon, Nov 02, 2015 at 11:36:04AM +1300, Sebastian Schweizer wrote:
> 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 .

This could be done using a generator _but_ since we don't know the
number of guests and the overall timeout is VMs * SHUTDOWN_TIMEOUT we
don't know the value beforehand so the only way would be to disable the
timeout.
Cheers,
 -- Guido

> 
> 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.
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> pkg-libvirt-maintain...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 

Reply via email to