=== OS / Kernel ===
Linux 14600 6.8.0-79-generic #79-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 14:42:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.04.3 LTS
Boot: UEFI
i have this problem for few months where shutting down ubuntu or restarting it will make the entire pc frozen, only unplugging from power will solve it…i thought for months its psu issue, today i
changed psu
changed all fans
upgraded 22.04 to 24.04
changed case
updated bios
Does this always happen on a restart/shutdown or is it occasional? When you say it freezes, does that mean you cannot log in or access the system? Or are you able to login but
subsequently unable to use any software on the system? When the system freezes, do you use the power button to shut down? Bad idea, use the REISUB method which should work on any Linux OS (hold down the right Alt+PrtScr keys and while doing so, consecutively tap the REISUB keys to reboot). This won’t corrupt the filesystem the way a power off button shutdown will.
every single restart or shutdown, complete system freeze up and nothing can be done or controlled, if i actually wait for like 10 mins on a reboot, the system will momentarly go all black (entire pc shuts) then instantly power back up with all fans going nuts and nothing turns on, has to be unplugged
i did the escape thing to see which PIDs are holding the shutdown, last line before crash belong to docker containers that have access to nfs
Can you keep it running for a few minutes? It might be that it needs to timeout something. It’s useful to know if it eventually timeouts and shuts down normally, or if it’s stuck like that for over 10 minutes.
And maybe show a picture of the lines? Or even a video, that might help us better identify which ones are blocking shutdown. Sometimes, it’s not the last ones in the list.
i might have fixed it…sorta of but needed an expert to confirm if this makes sense?
after realizing that docker containers are the ones stopping the restart/shut down i looked only into docker, i found that at some point i edited docker to use automount, since i had instances where docker will start before nfs mounts, i edited the file to make it use automount, chatgpt told me automount is causing the hangup, i removed it
pc restarted…sorta of?..it still shows the yellow line, it still hangs for 2 mins…but then it does go into normal restart !
If “docker” itself has a logic for self-service recovery, and that isn’t integrated properly into the “shutdown” logic, then it might be going into an endless loop of, on the one hand, unmounting partitions, and on the other hand triggering a remount by self-recovery using the “automount”! In other words, chasing its own tail!
I don’t use docker, but I encountered a situation that “automount” was out of my control, performing mounts when I didn’t want them, if the mountpoint root was
/media
So, I had to define a new mountpoint root at
/site
and my automount issues were finally under my specific control, per fstab specifications.