Bugzilla – Bug 1215591
Having swap as first partition is something incompatible with kdump
Last modified: 2023-09-25 08:35:26 UTC
## Description: This test is to reproduce bug bsc#887126 to check /bin/mount -t tmpfs 'none' 'swap': mount: mount point swap does not exist ## Error log: When runt the 15sp6 build 13.4 with autoyast profile in the attachment. it failed with ""mkdumprd >> /var/log/YaST2/y2logmkinitrd 2>&1"" Error updating initrd while calling 'mkdumprd'.\nSee /var/log/YaST2/y2logmkinitrd for details. >>%--------------begin of y2logmkinitrd-file------------------------------ Regenerating kdump initrd ... dracut[I]: Executing: /usr/bin/dracut --force --hostonly --no-hostonly-default-device --omit "plymouth resume usrmount" --compress "xz -0 --check=crc32" --add kdump /boot/initrd-5.14.21-150500.55.19-default-kdump 5.14.21-150500.55.19-default dracut[I]: Module 'systemd-integritysetup' will not be installed, because command '/usr/lib/systemd/systemd-integritysetup' could not be found! dracut[I]: Module 'systemd-integritysetup' will not be installed, because command '/usr/lib/systemd/system-generators/systemd-integritysetup-generator' could not be found! dracut[I]: Module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found! dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found! dracut[I]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found! dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found! dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found! dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found! dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found! dracut[I]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found! dracut[I]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found! dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found! dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found! dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found! dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found! dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found! dracut[I]: Module 'network-manager' will not be installed, because command 'NetworkManager' could not be found! dracut[I]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut[I]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found! dracut[I]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found! dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found! dracut[I]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut[I]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut[I]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut[I]: Module 'nvmf' will not be installed, because command 'jq' could not be found! dracut[I]: Module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! /usr/lib/dracut/modules.d/99kdump/module-setup.sh: line 74: host_fs_types["$_dev"]: bad array subscript dracut[E]: Module 'kdump' cannot be installed. >>>%--------------end of y2logmkinitrd-file------------------------------ ## Discussion on the slack channel https://suse.slack.com/archives/C02D1T4S58S/p1695198650917939 ## Observation openQA test in scenario sle-15-SP6-Online-x86_64-autoyast_bug-879147_autoinst@64bit fails in [installation](https://openqa.suse.de/tests/12119768/modules/installation/steps/13) ## Test suite description Same as autoyast_bug-879147_autoinst with product defined in the profile. Test uses autoyast profiles to verify bsc#879147. ## Reproducible Fails since (at least) Build [19.1](https://openqa.suse.de/tests/12036138) ## Expected result Last good: [16.1](https://openqa.suse.de/tests/11979797) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=autoyast_bug-879147_autoinst&version=15-SP6)
Created attachment 869675 [details] bug-879147_autoinst.xml
And as @Jose Iván Lopez's kindly suggested, the issue was gone with root as the first partition. https://openqa.suse.de/tests/12219080
Now the workable Workaround is to set root as the first partition and swap as the second one in this scenario.
Kdump in SP6 has received a major upgrade in the past weeks and this code is completely gone. Please retry with a new SP6 snapshot once kdump-1.9.6 or newer is included. I'll close this as WONTFIX, since there is no point debugging this code that has become obsolete. Thanks!