Crash recovery kernel arming (kdump Rocky9)

It is not failing anymore.
My solution was to use a “sleep 5;” in the X.service I was using to reboot the Pc. Something in the timing of the command to reboot inside a .service was failing.