System fails to reboot automatically, dropping to debug shell on shutdown

I can’t reboot my PC after upgrade to the latest Fedora 40. The issue is absolutely the same as described here: System fails to reboot automatically, dropping to debug shell on shutdown - Red Hat Customer Portal

When initiating a reboot command, the system shut downs but drops into a debug shell, complaining about missing binaries, as shown in the example below:

/shutdown: line 115: reboot: command not found
[  145.951127] dracut Warning: reboot failed!
dracut Warning: reboot failed!

[  145.953007] dracut Warning: 
dracut Warning: 

Generating "/run/initramfs/rdsosreport.txt"
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

To get more debug information in the report,
reboot with "rd.debug" added to the kernel command line.

Dropping to debug shell.

shutdown:/# 

Unfortunately, I don’t have a RH subscription. Please help.

You can open a Bugzilla account and file bug reports using your Fedora login: File a Fedora Bugzilla Report.

Thank you. That is fine, but it will take a lot of time when it resolves. Is there any way to obtain content of the article?

Not sure if you are concerned about the time it takes to open a Bugzilla account or the time it takes for a bug to be fixed. My memory is not very reliable, but I think you just get an email to confirm that it was you that wanted the account.

Thank you so much! Let me try with this solution, I’ll keep you posted.

@gnwiii
I created a bug, will monitor it. In the meantime, I tried with the solution from other similar bugs found in Bugzilla, like adding dependency to plymouth-switch-root-initramfs.service, like adding this:

After=dracut-shutdown-onfailure.service

and that didn’t help. So will try with solution from RedHat, thanks to @Espionage724. Will keep you posted.

P.S. just carefully read RedHat’s one - that is exactly what I’ve done before. Need to think.

Alright, fix from the RedHat article helped. I added 3 extra units into the SystemD /etc directory and that’s it. Everything is working now.

Thank you all.

2 Likes