Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-41082

Anaconda does not disable KDUMP service even if we request to disable it during installation

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-8.10, rhel-9.4
    • kdump-anaconda-addon
    • None
    • None
    • Moderate
    • rhel-sst-kernel-debug
    • ssg_core_kernel
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work ?

      During OS installation using RHEL 8.10 and RHEL 9.4 ISO if we select we disable kdump service during installation, post OS installation we see that the service is still kept enabled.

      Here also though the service startup failed because the "crashkernel" parameter it still actually not in disable state.

      # systemctl status kdump -l --no-pager
      ○ kdump.service - Crash recovery kernel arming
           Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; preset: enabled)
           Active: inactive (dead)
        Condition: start condition failed at Thu 2024-06-13 19:25:11 IST; 5h 26min ago
                   └─ ConditionKernelCommandLine=crashkernel was not met
      Jun 13 19:25:11 localhost.localdomain systemd[1]: Crash recovery kernel arming was skipped because of an unmet condition check (ConditionKernelCommandLine=crashkernel).
      

       

      This happens in both RHEL 8.10 and RHEL 9.4

      The anaconda syslog logs on RHEL 9.4 suggest that its disable (Editted)

      [root@localhost ~]# less /var/log/anaconda/syslog | grep org.fedoraproject.Anaconda.Addons.Kdump
      11:10:57,781 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.module_manager.start_modules:Found org.fedoraproject.Anaconda.Addons.Kdump.
      11:10:57,787 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.module_manager.start_modules:Starting org.fedoraproject.Anaconda.Addons.Kdump.
      11:10:57,790 INFO dbus-daemon:Activating service name='org.fedoraproject.Anaconda.Addons.Kdump' requested by ':1.1' (uid=0 pid=1975 comm="python3 -m pyanaconda.modules.boss " label="system_u:system_r:kernel_t:s0")
      11:10:59,129 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common:The configuration is loaded from: ['/run/anaconda/anaconda.conf']
      11:11:01,182 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Publish the service.
      11:11:01,184 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:dasbus.connection:Publishing an object at /org/fedoraproject/Anaconda/Addons/Kdump.
      11:11:01,184 WARNING org.fedoraproject.Anaconda.Addons.Kdump:INFO:anaconda.core.dbus:Connecting to the Anaconda bus at unix:abstract=/tmp/dbus-GykAvz4TxA,guid=3ce53a1933d49b00cb45b1f0666ad3c1.
      11:11:01,188 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:dasbus.connection:Registering a service name org.fedoraproject.Anaconda.Addons.Kdump.
      11:11:01,191 INFO dbus-daemon:Successfully activated service 'org.fedoraproject.Anaconda.Addons.Kdump'
      11:11:01,191 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Start the loop.
      11:11:01,192 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.module_manager.start_modules:Service org.fedoraproject.Anaconda.Addons.Kdump started successfully.
      11:11:01,192 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.module_manager.start_modules:org.fedoraproject.Anaconda.Addons.Kdump is available.
      11:11:05,066 WARNING org.fedoraproject.Anaconda.Boss:INFO:anaconda.modules.boss.kickstart_manager.kickstart_manager:org.fedoraproject.Anaconda.Addons.Kdump handles commands [] sections [] addons ['com_redhat_kdump'].
      11:11:05,066 WARNING org.fedoraproject.Anaconda.Boss:INFO:anaconda.modules.boss.kickstart_manager.kickstart_manager:There are no kickstart data for org.fedoraproject.Anaconda.Addons.Kdump.
      11:11:05,626 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to en_US.UTF-8.
      11:11:18,229 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to hi_IN.UTF-8.
      11:11:20,559 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to hi_IN.UTF-8.
      11:11:20,581 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to hi_IN.UTF-8.
      11:11:25,195 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to en_US.UTF-8.
      11:11:26,748 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Locale is set to en_US.UTF-8.
      11:12:02,486 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:com_redhat_kdump.service.kdump:Kdump enabled is set to 'False'.
      11:12:02,488 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:com_redhat_kdump.service.kdump:Reserved memory is set to 'auto'.
      11:12:02,490 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:com_redhat_kdump.service.kdump:Fadump enabled is set to 'False'.
      11:12:20,307 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:dasbus.connection:Publishing an object at /org/fedoraproject/Anaconda/Addons/Kdump/Task/1.
      11:12:20,312 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.install_manager.install_manager:Getting task /org/fedoraproject/Anaconda/Addons/Kdump/Task/1 from module org.fedoraproject.Anaconda.Addons.Kdump
      11:12:28,616 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.install_manager.install_manager:Module org.fedoraproject.Anaconda.Addons.Kdump requires: []
      11:27:35,157 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:dasbus.connection:Publishing an object at /org/fedoraproject/Anaconda/Addons/Kdump/Task/2.
      11:27:35,197 WARNING org.fedoraproject.Anaconda.Boss:DEBUG:anaconda.modules.boss.install_manager.install_manager:Getting task /org/fedoraproject/Anaconda/Addons/Kdump/Task/2 from module org.fedoraproject.Anaconda.Addons.Kdump
      11:27:35,205 WARNING org.fedoraproject.Anaconda.Addons.Kdump:INFO:anaconda.threading:Running Thread: AnaTaskThread-KdumpBootloaderConfigurationTask-1 (140559760356928)
      11:27:35,255 WARNING org.fedoraproject.Anaconda.Addons.Kdump:INFO:anaconda.threading:Thread Done: AnaTaskThread-KdumpBootloaderConfigurationTask-1 (140559760356928)
      11:28:06,323 WARNING org.fedoraproject.Anaconda.Addons.Kdump:INFO:anaconda.threading:Running Thread: AnaTaskThread-KdumpInstallationTask-1 (140559760356928)
      11:28:06,323 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:com_redhat_kdump.service.installation:Kdump is disabled. Skipping.
      11:28:06,324 WARNING org.fedoraproject.Anaconda.Addons.Kdump:INFO:anaconda.threading:Thread Done: AnaTaskThread-KdumpInstallationTask-1 (140559760356928)
      11:29:19,803 WARNING org.fedoraproject.Anaconda.Addons.Kdump:DEBUG:anaconda.modules.common.base.base:Generating kickstart..

      I have tagged both products RHEL 8.10 and RHEL 9.4 to this bug but I understand that RHEL 8.10 was the final release so its might not be possible to change this in RHEL 8.10

      Please provide the package NVR for which bug is seen:

      Anaconda RHEL 8.10 DVD

      Anaconda RHEL 9.4 DVD

      How reproducible:

      Everytime

      Steps to reproduce

      1. During GUI installation uncheck the enable kdump in the kdump spoke
      2. Continue with the installation.
      3. Post installation check the state of the kdump service and see that its enabled "systemctl status kdump"

      Expected results

      We expect kdump service is disabled completely.

      Actual results

      kdump service is enabled (although it still does not start because crashkernel parameter is missing)

              rh-ee-lichliu Lichen Liu
              rhn-support-amepatil Ameya Patil
              kdump team kdump team
              Jie Li Jie Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: