The Hyper-V migration and Windows NFS mount explain this well. On daemon-reexec, systemd reads mount points and runs generators again. If the NFS connection hung after the migration, any stat() call will freeze PID 1 in D-state (uninterruptible sleep).
That is also why Hyper-V could not reboot the VM cleanly - PID 1 in D-state cannot receive any signals. If it happens again, check this from your open SSH session before rebooting: cat /proc/1/stack It will show right away where the kernel is stuck. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2165295 Title: systemd freezes after daemon-reexec triggered by unattended-upgrades / needrestart on Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2165295/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
