Go to file
Kairui Song 3a36568581 Make udev reload rules quiet during bootup
In commit 1c97aee and commit 227c185 udev rules was rewritten to use
systemd-run to run in a non-blocking mode. The problem is that it's a
bit noise, especially on machine bootup, systemd will always generate
extra logs for service start, you might see your journal full of lines
like these if you have many CPUs (each CPU generates a udev event on
boot):

...
Nov 22 22:23:05 localhost systemd[1]: Started /usr/lib/udev/kdump-udev-throttler.
Nov 22 22:23:05 localhost systemd[1]: Started /usr/lib/udev/kdump-udev-throttler.
Nov 22 22:23:05 localhost systemd[1]: Started /usr/lib/udev/kdump-udev-throttler.
Nov 22 22:23:05 localhost systemd[1]: Started /usr/lib/udev/kdump-udev-throttler.
...

While system is still booting up, kdump service is not started yet, so
systemd-run calls will end up doing nothing, the throttler being called
by systemd-run will just exit if kdump is not loaded.

This patch avoid systemd-run from being called at first place if kdump
service is not running by checking kdump.service status in udev rule,
so there won't be unnecessary logs.

Also remove the kdump service checking logic in kdump-udev-throttler as
udev is the only expected callee of this script, if it's not being
called at first place when kdump service is running, this checking will
be redundant. And even if any user called this script manually, it will
still work well as this script will call 'kdumpctl reload', it reload
the kdump resource only if kdump is loaded already.

Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
2018-12-06 17:44:03 +08:00
.gitignore .gitignore: Update to make it more generic 2016-05-16 10:15:01 +08:00
98-kexec.rules Make udev reload rules quiet during bootup 2018-12-06 17:44:03 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
dracut-early-kdump-module-setup.sh Add early kdump support in initramfs. 2018-05-29 10:19:19 +08:00
dracut-early-kdump.sh Add early kdump support in initramfs. 2018-05-29 10:19:19 +08:00
dracut-kdump-capture.service Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-kdump-emergency.service kdump-emergency: fix "Transaction is destructive" emergency failure 2017-03-31 11:54:30 +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.service Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump-error-handler.sh Revert "execute kdump_post after do_default_action" 2015-04-08 15:50:16 +08:00
dracut-kdump.sh dracut-kdump: use POSIX shell syntax 2016-11-28 10:41:15 +08:00
dracut-module-setup.sh dracut-module-setup: Fix routing failure on multipath route 2018-11-27 18:12:52 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
early-kdump-howto.txt Add early kdump support in initramfs. 2018-05-29 10:19:19 +08:00
fadump-howto.txt Document: fix incorrect link in fadump-how.txt 2017-03-08 13:07:20 +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 kdump-lib-initramfs.sh: Add check to remount to rw mode only if dump target is ro. 2018-10-15 10:46:44 +08:00
kdump-lib.sh move some common functions from kdumpctl to kdump-lib.sh 2018-05-29 10:18:40 +08:00
kdump-udev-throttler Make udev reload rules quiet during bootup 2018-12-06 17:44:03 +08:00
kdump.conf doc/kdump.conf: Local dump path should be <mnt>/<path>/%HOST_IP-%DATE 2018-11-15 11:18:30 +08:00
kdump.conf.5 doc/kdump.conf: Local dump path should be <mnt>/<path>/%HOST_IP-%DATE 2018-11-15 11:18:30 +08:00
kdump.service kdumpctl: Add reload support 2018-11-01 22:31:20 +08:00
kdump.sysconfig Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.i386 Always drop nofail or nobootwait options 2018-08-14 10:34:45 +08:00
kdump.sysconfig.ppc64 Always drop nofail or nobootwait options 2018-08-14 10:34:45 +08:00
kdump.sysconfig.ppc64le Always drop nofail or nobootwait options 2018-08-14 10:34:45 +08:00
kdump.sysconfig.s390x Always drop nofail or nobootwait options 2018-08-14 10:34:45 +08:00
kdump.sysconfig.x86_64 Always drop nofail or nobootwait options 2018-08-14 10:34:45 +08:00
kdumpctl Add missing usage info 2018-11-09 11:17:00 +08:00
kdumpctl.8 kdumpctl: add showmem cmd 2018-05-21 14:06:30 +08:00
kexec-kdump-howto.txt kexec-kdump-howto: Add doc about the special mount information via "dracut_args" 2016-08-26 14:03:48 +08:00
kexec-tools-2.0.16-koji-build-fail-workaround.patch Workaround a koji build failure 2017-12-08 11:42:30 +08:00
kexec-tools-2.0.17-kexec-fix-for-Unhandled-rela-relocation-R_X86_64_PLT.patch kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error 2018-08-22 15:48:43 +08:00
kexec-tools.spec As /etc/kdump.conf timestamp is updated do not compare it when doing rpm --verify 2018-11-13 16:23:57 +02: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 mkdumprd: drop some nfs mount options when reading from kernel 2018-11-24 17:48:49 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
sources Release 2.0.18-1 2018-11-06 00:33:29 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00

README

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