[systemd-devel] How to set the timeout of emergency mode

Itxaka Serrano Garcia itxaka.garcia at spectrocloud.com
Tue Jun 11 08:08:04 UTC 2024


Maybe you could override the emergency.service to reboot automatically?
Either on the ExecStartPost or even earlier if you dont want to even show
the logging, on ExecStartPre?

I think that could work.

On Tue, Jun 11, 2024 at 5:19 AM Mark Zhang (NSB) <mark.zhang at nokia-sbell.com>
wrote:

> Hello Experts,
>
>
>
> Consult one question about how to set the timeout of emergency mode?
>
>
>
> Scenario:
>
> We have encountered one problem of Openstack host, and the host was up at
> the end, and all things are good from host level after that.
>
> But the VM stuck in the emergency mode forever. If we input ctrl+D, the VM
> could reboot normally again.
>
>
>
> So we would like to consult, if any method could avoid to stuck in the
> emergency mode forever? Be better, there is some timeout setting for
> emergency mode. Then the VM could auto-recover by itself for such scenario.
>
>
>
> Thanks,
>
> Mark
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240611/5394d324/attachment-0001.htm>


More information about the systemd-devel mailing list