Unnamed repository
Go to file
WANG Chao de95c74a76 mkdumprd: append "x-initrd.mount" to the mount options.
Now when mount in /etc/fstab fails, systemd would not consider it as
critical and it would continue to boot. In fact, emergency service is
triggered, but not in a isolation mode, and it results in the emergency
service getting shutdown at some point later of the boot process. We
need isolation otherwise we won't see any emergency service.

That is because in kdump initramfs, mount units specified in /etc/fstab
are required by "local-fs.target". When any of these mounts fails,
local-fs.target fails.

For kdump initramfs, we need to isolate to emergency service on any of
the mount failure, that said, every service should be stopped and onlu
emergency service would run. But local-fs.target won't trigger that on
its failure. That means in case of mount failure, local-fs.target also
enters failure state, but all the service will continue without any
interruption.

After digging looking into source code of systemd-fstab-generator. I
find "x-initrd.mount" using in initramfs mount, will make the mount
units required by "initrd-root-fs.target" rather than it's used to be
"local-fs.target".

"initrd-root-fs.target" is suitable to us because if it fails, it will
isolate to emergency service. That means in case of any mount failure,
the emergeny service will start and everything else will stop. We want
this effect because we need to take kdump fail-safe action when there's
a mount failure.

From systemd unit point of view, "initrd-root-fs.target" has
OnFailureIsolate=yes, but "local-fs.target" doesn't. From
systemd.unit(5):

OnFailureIsolate=
    Takes a boolean argument. If true, the unit listed in OnFailure=
    will be enqueued in isolation mode, i.e. all units that are not its
    dependency will be stopped. If this is set, only a single unit may
    be listed in OnFailure=. Defaults to false.

NOTE: Harald who contributed "x-initrd.mount" in systemd, confirmed that
      this feature will stay.

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2014-08-05 13:13:32 +08:00
anaconda-addon Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
po Translation, Makefile: add make tgz option to auto pack po files 2013-12-24 14:25:23 +08:00
.gitignore kdump-anaconda-addon: update to kdump-anaconda-addon-001-4-g03898ef.tar.gz 2014-07-24 12:56:57 +08:00
98-kexec.rules Fix kdump udev memory event restarts 2014-05-04 17:08:34 +08:00
dracut-kdump.sh cleanup: extract functions from kdump.sh to kdump-lib-initramfs.sh 2014-08-05 13:13:11 +08:00
dracut-module-setup.sh cleanup: extract functions from kdump.sh to kdump-lib-initramfs.sh 2014-08-05 13:13:11 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
fadump-howto.txt kdump: Add firmware-assisted dump howto document 2014-07-28 13:03:51 +08:00
firstboot_kdump.py firstboot:fix reserve mem ui spinbox step size 2012-12-12 17:15:10 +08:00
kdump-dep-generator.sh kdump-dep-generator: Add kdump service dependencies on the fly 2014-04-17 11:27:31 +08:00
kdump-in-cluster-environment.txt Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump-lib-initramfs.sh cleanup: mount dump target under /sysroot in 2nd kernel 2014-08-05 13:13:30 +08:00
kdump-lib.sh pass mount info to dracut when default target is a separate disk 2014-04-17 11:27:31 +08:00
kdump.conf kdump.conf: renew the path section 2014-04-17 11:27:31 +08:00
kdump.conf.5 kdump.conf: renew the path section 2014-04-17 11:27:31 +08:00
kdump.service Disable the ratelimit of kdump service on hotplug events 2014-05-04 17:08:14 +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.ppc64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.s390x s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x 2014-01-22 12:52:02 +08:00
kdump.sysconfig.x86_64 Add acpi_no_memhotplug to kdump kernel 2014-01-29 16:25:57 +08:00
kdumpctl kdump: Check whether or not to invoke capturing vmcore 2014-07-28 13:03:48 +08:00
kexec-kdump-howto.txt kexec-kdump-howto.txt: renew the path section 2014-04-17 11:27:31 +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-Fix-free-bitmap_buffer_cyclic-error.patch Fix free bitmap_buffer_cyclic error. 2014-07-16 14:57:00 +08:00
kexec-tools-2.0.4-makedumpfile-Fix-Makefile-for-eppic_makedumpfile.so-build.patch makedumpfile: Fix Makefile for eppic_makedumpfile.so build 2014-06-13 13:17:56 +08:00
kexec-tools-2.0.4-makedumpfile-Introduce-the-mdf_pfn_t-type.patch Introduce the mdf_pfn_t type. 2014-07-16 14:56:41 +08:00
kexec-tools-2.0.4-makedumpfile-Move-counting-pfn_memhole-for-cyclic-mode.patch Move counting pfn_memhole for cyclic mode. 2014-07-16 14:57:18 +08:00
kexec-tools-2.0.4-makedumpfile-Remove-the-1st-bitmap-buffer-from-the-ELF-.patch Remove the 1st bitmap buffer from the ELF path in cyclic mode. 2014-07-16 14:57:15 +08:00
kexec-tools-2.0.4-makedumpfile-Stop-maximizing-the-bitmap-buffer-to-reduc.patch Stop maximizing the bitmap buffer to reduce the risk of OOM. 2014-07-16 14:57:21 +08:00
kexec-tools.spec cleanup: extract functions from kdump.sh to kdump-lib-initramfs.sh 2014-08-05 13:13:11 +08:00
mkdumprd mkdumprd: append "x-initrd.mount" to the mount options. 2014-08-05 13:13:32 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources kdump-anaconda-addon: update to kdump-anaconda-addon-001-4-g03898ef.tar.gz 2014-07-24 12:56:57 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec