Debian 9.6 system not powering off

  • I had a Debian 9.6 (was originally 9.1) that has not powered off or rebooted correctly for a while.

    As it was just a once a month thing (my reboot schedule), I never really looked into it. I just hard killed the VM and and turned it back on.

    The shutdown process was getting to "reached target shutdown" and just hanging.

    A little poking at Google told me to try to rebuild the initramfs.
    I did and now the system reboots properly again.

    sudo update-initramfs -u

  • Doing it again 😞

    Rebuild of initramfs did not fix it this time.


  • Something in the shutdown triggers a start of a service or doesn't stop in time. Since something is still running the shutdown never completes.

    Looking at the screenshot for instance it says "Stopping monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...".
    But there is no acknowledgment [OK] that it has completed.

    I'd start looking there.