So, here's what I'm trying: reverting back to Upstart, forget about systemd. After some research (e.g.
http://www.serverlab.ca/tutorials/li...m-ubuntu-15-2/) I've done:
Code:
$ apt-get install upstart-sysv sysvinit-utils # don't know if I need sysvinit-utils. Some sites had it, some didn't
$ update-initramfs -u
$ reboot
I've not removed systemd yet. After doing the above, lo and behold, the shutdown script we've been struggling with worked just fine. I've renamed it from /etc/rc6.d/K01rc.local to /ec/rc6.d/K00rc.local to insure that it runs first, and it appears to work. Next is to put my VM shutdown script in there and see if it shuts down gracefully. But there's a bit of a problem ...
While most services seem to work fine with Upstart back in action, I have no lightdm login console. Need to fix that before I can test the VM thing. I've made a separate thread for this issue:
http://www.linuxquestions.org/questi...07#post5599007