
Bernd wrote:
What's the LIBVIRTD_KVM_SHUTDOWN value (on my system it's in /etc/conf.d/libvirtd)? You want it to be 'shutdown'.
Michal
Hi Michal,
i have neither this variable nor that file. But i have /etc/syconfig/libvirt-guests:
======================================================== pc59093:/var/log/libvirt/qemu # cat /etc/sysconfig/libvirt-guests ## Path: System/Virtualization/libvirt ## Type: string ## Default: default # URIs to check for running guests # example: URIS='default xen:/// vbox+tcp://host/system lxc:///' URIS=default
## Type: string ## Default: start # action taken on host boot # - start all guests which were running on shutdown are started on boot # regardless on their autostart settings # - ignore libvirt-guests init script won't start any guest on boot, however, # guests marked as autostart will still be automatically started by # libvirtd ON_BOOT=start
## Type: integer ## Default: 0 # number of seconds to wait between each guest start START_DELAY=0
## Type: string ## Default: suspend # action taken on host shutdown # - suspend all running guests are suspended using virsh managedsave # - shutdown all running guests are asked to shutdown. Please be careful with # this settings since there is no way to distinguish between a # guest which is stuck or ignores shutdown requests and a guest # which just needs a long time to shutdown. When setting # ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a # value suitable for your guests. ON_SHUTDOWN=shutdown =====================================================
I changed "ON_SHUTDOWN" already from suspend to shutdown. I think this should be the same.
Bernd
Hi, for the Ubuntu guest i found a solution: http://ubuntuforums.org/showthread.php?t=1972464 Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess Dr. Nikolaus Blum Dr. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671