Unnamed repository
Go to file
Kairui Song 2603ba7187 Cleanup dead systemd services before start sysroot.mount
When kdump failed due to initqueue timeout, the sysroot.mount and other
serivces could be stuck in `start` but `dead` status:

Example output of systemctl:

dev-disk-by\x2duuid-530830d1\x2df2c7\x2d4c9a\x2d9a82\x2d148609097521.device loaded inactive   dead    start
<... snip ...>
squash-root.mount		loaded active     mounted       /squash/root
squash.mount			loaded active     mounted       /squash
sysroot.mount			loaded inactive   dead    start /sysroot
<... snip ...>
dracut-cmdline.service		loaded active     exited        dracut cmdline hook
dracut-initqueue.service	loaded activating start   start dracut initqueue hook
dracut-mount.service		loaded inactive   dead    start dracut mount hook

At this point calling `systemctl start sysroot.mount` will just hang as
systemd will just wait for the services that are stuck in `start`
status. So call `systemctl cancel` here to cancel all pending jobs and
have a clean start for mounting sysroot.

Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Coiby Xu <coxu@redhat.com>
2021-07-12 16:53:34 +08:00
tests selftest: ignore all spaces when compare the dmesg files 2021-06-08 22:21:47 +08:00
.gitignore .gitignore: Update to make it more generic 2016-05-16 10:15:01 +08:00
60-kdump.install Write to /var/lib/kdump if $KDUMP_BOOTDIR not writable 2021-04-19 16:11:17 +08:00
92-crashkernel.install Add a new hook: 92-crashkernel.install 2021-07-08 15:36:32 +08:00
98-kexec.rules Make udev reload rules quiet during bootup 2018-12-06 17:44:03 +08:00
98-kexec.rules.ppc64 Stop reloading kdump service on CPU hotplug event for FADump 2021-03-10 16:24:42 +08:00
crashkernel-howto.txt Add a crashkernel-howto.txt doc 2021-07-08 15:36:36 +08:00
dracut-early-kdump-module-setup.sh module-setup.sh: don't polute the namespace unnecessarily 2021-01-20 14:14:08 +08:00
dracut-early-kdump.sh logger: source the logger file individually 2021-01-20 14:13:44 +08:00
dracut-fadump-init-fadump.sh fadump-init: clean up mount points properly 2021-06-30 17:28:45 +08:00
dracut-fadump-module-setup.sh fadump: isolate fadump initramfs image within the default one 2021-06-29 21:35:58 +08:00
dracut-kdump-capture.service dracut-kdump-capture.service: Use OnFailureJobMode instead of deprecated OnFailureIsolate 2019-06-14 09:44:09 +08:00
dracut-kdump-emergency.service Remove the kdump error handler isolation wrapper 2021-06-04 14:26:45 +08:00
dracut-kdump-emergency.target kdump-emergency: fix "Transaction is destructive" emergency failure 2017-03-31 11:54:30 +08:00
dracut-kdump-error-handler.sh Add failure_action as alias of default and make default obsolete 2019-01-22 17:57:53 +08:00
dracut-kdump.sh Fix incorrect vmcore permissions when dumped through ssh 2021-03-23 16:10:43 +08:00
dracut-module-setup.sh fadump: isolate fadump initramfs image within the default one 2021-06-29 21:35:58 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
early-kdump-howto.txt Improves the early-kdump-howto.txt document in several points: 2020-03-12 23:31:34 +08:00
fadump-howto.txt fadump: improve fadump-howto.txt about remote dump target setup 2021-02-23 16:18:54 +08:00
kdump-dep-generator.sh logger: source the logger file individually 2021-01-20 14:13:44 +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 dead systemd services before start sysroot.mount 2021-07-12 16:53:34 +08:00
kdump-lib.sh Revert "kdump-lib.sh: Remove is_atomic" 2021-07-08 15:18:00 +08:00
kdump-logger.sh Capitalize the configuration name of log level 2020-11-13 02:49:35 +08:00
kdump-udev-throttler Make udev reload rules quiet during bootup 2018-12-06 17:44:03 +08:00
kdump.conf kdump.conf: add ipv6 example for nfs and ssh dump 2021-01-21 15:36:27 +08:00
kdump.conf.5 kdump.conf: Update doc about core_collector for ssh target 2021-01-12 16:12:32 +08:00
kdump.service kdump.service: use ConditionKernelCommandLine=crashkernel 2020-10-27 12:22:36 -04:00
kdump.sysconfig Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.aarch64 Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.i386 Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.ppc64 Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.ppc64le Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.s390x Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdump.sysconfig.x86_64 Disable CMA in kdump 2nd kernel 2021-05-13 17:13:39 +08:00
kdumpctl kdumpctl: Add kdumpctl reset-crashkernel 2021-07-08 15:18:45 +08:00
kdumpctl.8 kdumpctl: Add kdumpctl reset-crashkernel 2021-07-08 15:18:45 +08:00
kexec-kdump-howto.txt Doc: Improve the kdump sysconfig document 2021-01-12 16:46:44 +08:00
kexec-tools-2.0.22-makedumpfile-check-for-invalid-physical-address-proc-kcore-when-finding-max_paddr.patch check for invalid physical address of /proc/kcore when finding max_paddr 2021-06-28 15:52:16 +08:00
kexec-tools-2.0.22-makedumpfile-check-for-invalid-physical-address-proc-kcore-when-making-ELF-dumpfile.patch check for invalid physical address of /proc/kcore when making ELF dumpfile 2021-06-28 15:52:21 +08:00
kexec-tools-2.0.22-makedumpfile-Increase-SECTION_MAP_LAST_BIT-to-5.patch Increase SECTION_MAP_LAST_BIT to 5 2021-06-28 15:52:02 +08:00
kexec-tools.spec Add a crashkernel-howto.txt doc 2021-07-08 15:36:36 +08:00
live-image-kdump-howto.txt Revert "kdumpctl: filter 'root' kernel parameter when running in live images" 2017-04-11 16:03:12 +08:00
mkdumprd fadump: isolate fadump initramfs image within the default one 2021-06-29 21:35:58 +08:00
mkdumprd.8 Doc: improve mkdumprd man page 2020-12-11 14:05:08 +08:00
mkfadumprd fadump: kdumpctl should check the modules used by the fadump initramfs 2021-06-30 17:27:02 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
sources Update makedumpfile to 1.6.9 2021-05-13 16:45:36 +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