As I'm currently setting up an intranet mail-server for my company
(based on lucid / ebox) in some kvm-guests and there for have exactly
the same problem. Reading all previous posts - and because I need kvm-
guest shutdown as well - I will use something like this:
Add following lines in /etc/init.
-guard/run.d/ just before doing the real shutdown, it seems the
perfect way for me on our server-system.
I know it's just another workaround, but it's the least intrusive way and works
very well because shutting down KVMs is done before all the other
upstart/sysv-scripting stuff.
Gree