|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 18, 2023 23:19 UTC (Wed) by logang (subscriber, #127618)
In reply to: Changing Fedora's shutdown timeouts by Sesse
Parent article: Changing Fedora's shutdown timeouts

Yes!

I've also seen that after pressing ctrl-alt-del a million times to get through all that, it will actually says it's going to reboot but somehow screws it up and the computer just hangs without rebooting. The ctrl-alt-del feature is so broken that I don't even bother, I just hold down the power button to restart the machine. Debugging it is hard, and when I try and think its fixed something else seems to pop up to cause a new delay. Quite annoying.


to post comments

Changing Fedora's shutdown timeouts

Posted Jan 19, 2023 17:17 UTC (Thu) by frostsnow (subscriber, #114957) [Link]

I'll third this. The worst part is that the hung service is usually something stupid like forgetting to unmount a drive before unplugging it and I have no remedy now but to twiddle my thumbs for 3 minutes (fantastic when I'm in a rush) or force-reboot. All I need is a method to tell systemd to force-kill the hung service NOW, but either that doesn't exist or I don't know about it. It's frustrating.

Changing Fedora's shutdown timeouts

Posted Jan 19, 2023 17:53 UTC (Thu) by mgedmin (guest, #34497) [Link] (3 responses)

Alt+SysRq+S,U,B should be a little bit safer -- it gives the kernel the chance to sync and unmount the filesystems before rebooting.

Changing Fedora's shutdown timeouts

Posted Jan 20, 2023 10:41 UTC (Fri) by paulj (subscriber, #341) [Link] (2 responses)

U and B are disabled in Fedora.

Changing Fedora's shutdown timeouts

Posted Jan 23, 2023 17:23 UTC (Mon) by Tet (subscriber, #5433) [Link]

U and B are disabled in Fedora.

Maybe by default. But they're enabled on my Fedora system.

Changing Fedora's shutdown timeouts

Posted Apr 19, 2023 20:02 UTC (Wed) by mchehab (subscriber, #41156) [Link]

Yeah, this is a quite irritating bug. It is almost certainly to happen if an oops happen on Fedora

What I do here, on systems that have troubles rebooting is to run this:

PARTS="$(cat /proc/mounts |grep /dev|cut -d' ' -f 2|grep -v /dev)"

history -a
sync
for i in $PARTS; do
	echo "Remounting $i as read/only"
	sudo mount -o remount,ro $i
done
echo "rebooting..."
sync && sudo su -c "echo b > /proc/sysrq-trigger"

Changing Fedora's shutdown timeouts

Posted Jan 20, 2023 22:04 UTC (Fri) by jccleaver (guest, #127418) [Link]

Every time I have to boot up a RHEL6 box to check on something it's like breathing a sigh of relief and not having to fight an init system that thinks it knows better and can't be scripted or configured without delving three layers deep in man pages and six layers deep in in file systems.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds