Bug 2173984
Summary: | depmod: WARNING: could not open modules.order at /lib/modules/6.2.0-63.fc38.x86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Corsepius <rc040203> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 38 | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, cristian.ciupitu, fadamo, hdegoede, hpa, jarodwilson, jforbes, jglisse, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, samuel-rhbugs, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ralf Corsepius
2023-02-28 15:10:48 UTC
This might make sense as installing kernel-core does not install a single module. you also need kernel-modules-core most likely. Same warnings with kernel-modules-core. # dnf reinstall kernel*6.2.0-63.fc38.x86_64 ... Running scriptlet: kernel-modules-core-6.2.0-63.fc38.x86_64 8/8 depmod: WARNING: could not open modules.order at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory Running scriptlet: kernel-core-6.2.0-63.fc38.x86_64 8/8 depmod: WARNING: could not open modules.order at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.order at /var/tmp/dracut.4w4vkF/initramfs/lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/dracut.4w4vkF/initramfs/lib/modules/6.2.0-63.fc38.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin.modinfo at /var/tmp/dracut.4w4vkF/initramfs/lib/modules/6.2.0-63.fc38.x86_64: No such file or directory ... I confirm the issue. Reinstalling the `kernel-modules-core` package removes a number of files and fails to re-create them. The following attempts to reinstall the package do not resolve the issue. A manual action is required to restore the missing files. The issue is 100% reproducible on Fedora 37 with the latest kernel. Involved components: kernel-modules-core-6.2.8-200.fc37.x86_64 Steps to reproduce: sudo dnf -y reinstall kernel-modules-core Actual results: ... depmod: WARNING: could not open modules.order at /lib/modules/6.2.8-200.fc37.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.8-200.fc37.x86_64: No such file or directory depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.8-200.fc37.x86_64: No such file or directory ... Workaround to restore the missing files: sudo dnf download kernel-modules-core sudo rpm --force -i kernel-modules-core-*.rpm The same on RHEL 9.2 I'm getting something similar: # dnf -y erase kernel-core-6.3.11-200.fc38.x86_64 Dependencies resolved. ======================================================================================= Package Architecture Version Repository Size ======================================================================================= Removing: kernel-core x86_64 6.3.11-200.fc38 @updates-testing 65 M Removing dependent packages: kernel x86_64 6.3.11-200.fc38 @updates-testing 0 kernel-modules x86_64 6.3.11-200.fc38 @updates-testing 54 M kernel-modules-core x86_64 6.3.11-200.fc38 @updates-testing 29 M kernel-modules-extra x86_64 6.3.11-200.fc38 @updates-testing 2.4 M Transaction Summary ======================================================================================= Remove 5 Packages Freed space: 150 M Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : kernel-modules-extra-6.3.11-200.fc38.x86_64 1/5 Running scriptlet: kernel-modules-extra-6.3.11-200.fc38.x86_64 1/5 Erasing : kernel-6.3.11-200.fc38.x86_64 2/5 Running scriptlet: kernel-6.3.11-200.fc38.x86_64 2/5 Erasing : kernel-modules-6.3.11-200.fc38.x86_64 3/5 Running scriptlet: kernel-modules-6.3.11-200.fc38.x86_64 3/5 Erasing : kernel-modules-core-6.3.11-200.fc38.x86_64 4/5 Running scriptlet: kernel-modules-core-6.3.11-200.fc38.x86_64 4/5 Running scriptlet: kernel-core-6.3.11-200.fc38.x86_64 5/5 Erasing : kernel-core-6.3.11-200.fc38.x86_64 5/5 warning: file modules.builtin.modinfo: remove failed: No such file or warning: file modules.builtin: remove failed: No such file or directo Running scriptlet: kernel-core-6.3.11-200.fc38.x86_64 5/5 Verifying : kernel-6.3.11-200.fc38.x86_64 1/5 Verifying : kernel-core-6.3.11-200.fc38.x86_64 2/5 Verifying : kernel-modules-6.3.11-200.fc38.x86_64 3/5 Verifying : kernel-modules-core-6.3.11-200.fc38.x86_64 4/5 Verifying : kernel-modules-extra-6.3.11-200.fc38.x86_64 5/5 Removed: kernel-6.3.11-200.fc38.x86_64 kernel-core-6.3.11-200.fc38.x86_64 kernel-modules-6.3.11-200.fc38.x86_64 kernel-modules-core-6.3.11-200.fc38.x86_64 kernel-modules-extra-6.3.11-200.fc38.x86_64 Complete! It appears to be fixed here: https://src.fedoraproject.org/rpms/kernel/c/05344083c3335a010ac0ca4bd9f3f222750cfa05 > * Wed Jul 19 2023 Justin M. Forbes <jforbes> [6.4.4-0] > - move ownership of /lib/modules/<ver>/ to kernel-core (Thorsten Leemhuis) > - Let kernel-modules-core own the files depmod generates. (Thorsten Leemhuis) This message is a reminder that Fedora Linux 38 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '38'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 38 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. |