Unnamed repository
Go to file
WANG Chao 7c48f71b6f kdump.sysconfig: default to "nofail" mount
Currently we have two issues against mounting filesystems by systemd.
1. If any failure in sysroot.mount, initrd.target won't be reached.
2. If any failure in mounting /etc/fstab, initrd.target won't be reached

Our kdump.sh is in dracut-pre-pivot hook which is ordered after
initrd.target. That means if systemd doesn't reach initrd.target,
pre-pivot service will not run.

Based on above, we can conclude that in order to run kdump.sh,
initrd.target must be reached.

To fix issue 1), we can add rootflags=nofail to 2nd kernel cmdline, so
that initrd.target will not require sysroot.mount. initrd.target
wouldn't care about the failures in sysroot.mount. That means
initrd.target can always be reached whether or not sysroot.mount fails.
So when initrd.target is reached, kdump.sh can be run.

To fix issue 2), we can append "nofail" mount options to every entry in
/etc/fstab. It has almost the same affects as to sysroot.mount.
initrd.target can be reached whether or not mount /etc/fstab fails. So
when initrd.target is reached, kdump.sh can be run.

If the mount failures block kdump from working properly (for example,
the dump target isn't mounted), the error handling will be done by
"default" action specified in /etc/kdump.conf. Otherwise kdump will
ignore the mount failures and dump as expected.

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
2013-09-27 15:45:24 +08:00
po Update translation file po/it.po 2013-01-28 14:02:09 +08:00
.gitignore pull makedumpfile-1.5.4 2013-07-12 10:50:10 +08:00
98-kexec.rules udev rules fix 2012-05-28 09:50:47 +08:00
dracut-kdump.sh Strip inline comments from the kdump config file before use 2013-09-27 10:09:25 +08:00
dracut-module-setup.sh Strip inline comments from the kdump config file before use 2013-09-27 10:09:25 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
firstboot_kdump.py firstboot:fix reserve mem ui spinbox step size 2012-12-12 17:15:10 +08:00
kdump-lib.sh kdump-lib.sh: add common function strip_comments 2013-09-27 10:08:56 +08:00
kdump.conf add dracut_args option to kdump.conf 2013-04-27 10:44:48 +08:00
kdump.conf.5 add dracut_args option to kdump.conf 2013-04-27 10:44:48 +08:00
kdump.init - Fix a syntax error in kdump init script 2010-06-13 21:54:34 +00:00
kdump.service kdump.service: Start kdump after network is online and remote fs is mounted 2013-09-27 10:07:13 +08:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.ia64 Mass Update of RHEL5 patches 2008-06-05 15:18:53 +00:00
kdump.sysconfig.ppc64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.s390x kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.x86_64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdumpctl Strip inline comments from the kdump config file before use 2013-09-27 10:09:25 +08:00
kexec-kdump-howto.txt kexec-kdump-howto: Add a section for debugging tips 2013-06-25 14:01:57 +08:00
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch pull makedumpfile-1.5.4 2013-07-12 10:50:10 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.4-makedumpfile-Add-vmap_area_list-definition-for-ppc-ppc64.patch makedumpfile: Add vmap_area_list definition for ppc/ppc64. 2013-07-18 16:05:56 +08:00
kexec-tools-2.0.4-makedumpfile-PATCH-Support-newer-kernels.patch makedumpfile support kernel 3.10 2013-09-27 10:05:33 +08:00
kexec-tools.spec Release 2.0.4-9 2013-09-27 10:18:06 +08:00
mkdumprd kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources pull makedumpfile-1.5.4 2013-07-12 10:50:10 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00