Workaround:
Add the lines:
/usr/local/bin/shut-guests.sh 2>&1 >> /var/log/shut-guests.log /sbin/initctl emit guests-shutted
just after "do_stop() {" in /etc/init.d/sendsings
*and* changing the line:
stop on (runlevel [!2345])
on file /etc/init/libvirt-bin.conf to:
stop on guests-shutted
Ugly but works, until libvirt/kvm/distributions crews will care more about data integrity in vm guests during shutdown (sigh).
Workaround:
Add the lines:
just after "do_stop() {" in /etc/init. d/sendsings
*and* changing the line:
stop on (runlevel [!2345])
on file /etc/init/ libvirt- bin.conf to:
stop on guests-shutted
Ugly but works, until libvirt/ kvm/distributio ns crews will care more about data integrity in vm guests during shutdown (sigh).