On 05/07/14 at 05:51pm, Dave Young wrote:
Hi, Chao and Vivek
As far as I understand your new error handler will jump into kdump.sh in
case any error in systemd. It will fix most of the problems. But there will
be limitation for new error handler service that dump_to_rootfs will always
fail in case error happens before entering kdump.sh.
That's not the case any more. Eventually I made dump_to_rootfs works.
Please review at these patches.
From the thread link you sent about systemd discussion, they proposed below
solution:
http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/18278
It will create a local-fs-all.target for us to wait them, I'd like to know
what's the conclusion, why can't we do this way?
Possiblly there's other fail point other than fsck/mount in systemd which
we can not catch, is this the reason we ignore the proposal?
I figure having our own error handler is the ultimate solution for
issues like this...