Describe the bug
There is a logic flaw in the current version of dracut. When dracut generates an initramfs image, there is a chance that valid files and libraries that should be preserved in the directory tree are incorrectly filtered out. This results in an incomplete or corrupted initramfs image, and during instance startup, a Kernel Panic is triggered due to missing critical shared libraries, ultimately causing the instance to fail to reboot.
Expected behavior
This issue has been fixed upstream by changing the matching condition from -path to -name, and we hope this fix can be synchronized as soon as possible.
Upstream Commit:
dracut-ng/dracut-ng@5c53a81