Re: Crash instead of emergency mode when mount failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 18.01.19 12:00, Yang Lyu (yang.lyu@xxxxxxxx) wrote:

> Hi,
>
>
> I have two questions about entering emergency mode when mount target fails.
>
>
> If local-fs.target fails in booting stage, it will come into
> emergency mode and wait for user interaction. In this failure case,
> is it better to introduce a crash generate core dump and reboot
> automatically?

A coredump of what precisely?

If you want to reboot automatically if some unit fails or can't be
reached within some time use FailureAction=reboot or
JobTimeoutAction=reboot.

In case of local-fs.target using JobTimeoutAction=reboot sounds like a
good solution.

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux