1. Please describe the problem: there is an postscript issue during `dnf upgrade` 2. What is the Version-Release number of the kernel: rpm -q kernel kernel-6.19.0-59.fc44.x86_64 kernel-6.19.0-300.fc44.x86_64 kernel-6.19.0-301.fc44.x86_64 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: its easy to reproduce: root@fedora:~# /bin/kernel-install add 6.19.0-301.fc44.x86_64 /lib/modules/6.19.0-301.fc44.x86_64/vmlinuz grep: /var/tmp/dracut.deHNopd/initramfs/etc/shadow: No such file or directory ---- dnf reinstall kernel-core <snip /> Running transaction [1/4] Verify package files 100% | 17.0 B/s | 1.0 B | 00m00s [2/4] Prepare transaction 100% | 24.0 B/s | 2.0 B | 00m00s [3/4] Reinstalling kernel-core-0:6.19.0-301.fc44.x86_64 100% | 108.2 MiB/s | 29.8 MiB | 00m00s [4/4] Removing kernel-core-0:6.19.0-301.fc44.x86_64 100% | 0.0 B/s | 17.0 B | 00m19s >>> Running %posttrans scriptlet: kernel-core-0:6.19.0-301.fc44.x86_64 >>> Finished %posttrans scriptlet: kernel-core-0:6.19.0-301.fc44.x86_64 >>> Scriptlet output: >>> grep: /var/tmp/dracut.d3UjKbF/initramfs/etc/shadow: No such file or directory >>> Complete! 6. Are you running any modules that not shipped with directly Fedora's kernel?: no Reproducible: Always
Is this still happening? It is installing the kernel update, but the kernel update simply calls kernel-install for post, which makes the appropriate calls to dracut. I will assign this to dracut.
I can confirm that this is a dracut error message, the error also gets printed when simply running "sudo dracut -f" to regenerate the initrd for the current kernel.
I've seen this across a bunch of my devices.
Fixed by: https://github.com/dracut-ng/dracut-ng/pull/1774 Just ignores the error. I can backport this.
https://github.com/redhat-plumbers/dracut-fedora/pull/86