What | Removed | Added |
---|---|---|
CC | dimstar@opensuse.org | |
Flags | needinfo?(dimstar@opensuse.org) |
How is the kernel installed into the image? I see no /boot/vmlinuz link in the image so mkdumprd fails: + '[' -f /boot/vmlinuz ']' + echo 'Kernel not found.' Kernel not found. If I run the post script of the kernel manually: # rpm -q kernel-default-base --scripts|grep -A11 'postinstall scriptlet' postinstall scriptlet (using /bin/sh): run_if_exists() { if [ -x "$1" ] ; then "$@" else echo Cannot execute "$1" >&2 fi } run_if_exists /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "kernel-default" \ --version "6.11.0" --release "1.1" --kernelrelease "6.11.0-1" \ --image "vmlinuz" --flavor "default" --variant "" \ --usrmerged "1" --certs "1F673297" "$@" as: # sh -xx /usr/lib/module-init-tools/kernel-scriptlets/rpm-post --name "kernel-default" --version "6.11.0" --release "1.1" --kernelrelease "6.11.0-1" --image "vmlinuz" --flavor "default" --variant "" --usrmerged "1" --certs "1F673297" "$@" the link is correctly created: # ls -l /boot/vmlinuz lrwxrwxrwx 1 root root 24 Sep 30 09:18 /boot/vmlinuz -> vmlinuz-6.11.0-1-default and mkdumprd works: ... dracut[I]: *** Creating initramfs image file '/var/lib/kdump/initrd' done ***