[systemd-devel] Crash instead of emergency mode when mount failure

Lennart Poettering lennart at poettering.net
Mon Jan 21 09:48:07 UTC 2019


On Mo, 21.01.19 09:21, Yang Lyu (yang.lyu at axis.com) wrote:

> Hi,
>
> Thanks for your reply.
>
> In the scenario it is not convenient to use emergency mode, I hope
> system can save some information and reboot.

What do you mean by "some information"? I mean, logs are always
kept. So JobTimeoutAction=reboot or FailureAction=reboot should be fine.

> It is to force system to crash and generate a dump file recording
> status and kernel log around that time. So that we can know what
> happened here through debugging later.

Well, the log files already contain that, no? what else do you need?

Lennart

--
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list