Skip to content

[Bug] - dracut: initramfs corruption when temporary directory name contains "ko" #1040

@ruomusu

Description

@ruomusu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions