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