Bug 2569355
| Summary: | fapolicyd fails to start with file-libs 5.48: suspected compiled magic database format mismatch | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> |
| Component: | fapolicyd | Assignee: | Petr Lautrbach <plautrba> |
| Status: | ON_QA --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 44 | CC: | dev, extras-qa, plautrba, rsroka, sgrubb |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2568044 | Environment: | |
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2568044 | ||
| Bug Blocks: | |||
|
Description
Petr Lautrbach
2026-11-10 09:11:25 UTC
Metrics resets disabled; counters grow for daemon lifetime Initializing the trust database Trust database migration will be performed. autosize: could not inspect LMDB (No such file or directory) - keeping 100 MiB Loading rpmdb backend Loaded files 12804 fapolicyd integrity is 0 Creating trust database Loading trust data from rpmdb backend Loading trust data from file backend Trust database at 2% capacity - map will shrink automatically on next rebuild /usr/share/fapolicyd/fapolicyd-magic.mgc, 1: Warning: offset `�' invalid /usr/share/fapolicyd/fapolicyd-magic.mgc, 2: Warning: offset `' invalid /usr/share/fapolicyd/fapolicyd-magic.mgc, 4: Warning: offset ` o' invalid Unable to load fast magic database fapolicyd.service: Main process exited, code=exited, status=1/FAILURE fapolicyd.service: Failed with result 'exit-code'. Failed to start fapolicyd.service - File Access Policy Daemon. # rpm -q file fapolicyd file-5.48-2.fc44.x86_64 fapolicyd-2.0.1-1.fc44.x86_64 This is problem of file-5.48 update. file 5.48 bumped the compiled magic-file format version (VERSIONNO) from 20 to 21. It means that fapolicyd.mgc (file -C -m init/fapolicyd-magic) shipped in fapolicyd generated in file-5.46 is not valid anymore. Simple rebuild will fix it. FEDORA-2026-014abf7aed (fapolicyd-2.0.1-2.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-014abf7aed I wonder if we need to set a "Requires: file-libs=5.48" so that any change in file is in sync with the build of fapolicyd? FEDORA-2026-014abf7aed has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-014abf7aed` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-014abf7aed See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. |