Anaconda installer does not disable kdump.service even with kdump marked as disabled

Solution Unverified - Updated -

Issue

  • kdump.service is enabled even though it's disabled during Anaconda instalation process, while crashkernel=auto kernel parameter will be added or removed depending on that.
  • kdump.service always fails to start due to missing crashkernel=auto parameter.
$ systemctl status kdump.service --no-pager -l
● kdump.service - Crash recovery kernel arming
   Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-02-10 18:48:03 JST; 2min 32s ago
  Process: 977 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
 Main PID: 977 (code=exited, status=1/FAILURE)

Feb 10 18:48:03 localhost.localdomain systemd[1]: Starting Crash recovery kernel arming...
Feb 10 18:48:03 localhost.localdomain kdumpctl[977]: No memory reserved for crash kernel
Feb 10 18:48:03 localhost.localdomain kdumpctl[977]: Starting kdump: [FAILED]
Feb 10 18:48:03 localhost.localdomain systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 18:48:03 localhost.localdomain systemd[1]: kdump.service: Failed with result 'exit-code'.
Feb 10 18:48:03 localhost.localdomain systemd[1]: Failed to start Crash recovery kernel arming.

$ cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64 root=/dev/mapper/rhel-root ro resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet

Environment

  • Red Hat Enterprise Linux 8.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content