Bug 2099313

Summary: eatmydata error: could not find eatmydata library /usr/lib/libeatmydata.so
Product: [Fedora] Fedora Reporter: Chris Schanzle <bugzilla>
Component: libeatmydataAssignee: Stewart Smith <trawets>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: trawets
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libeatmydata-130-4.fc36 libeatmydata-130-4.fc35 libeatmydata-130-4.el7 libeatmydata-130-4.el9 libeatmydata-130-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-10 00:38:37 UTC 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 Chris Schanzle 2022-06-20 14:33:01 UTC
Description of problem:
/usr/libexec/eatmydata.sh points to /usr/lib/libeatmydata rather than /usr/lib64 

$ eatmydata sleep 1
eatmydata error: could not find eatmydata library /usr/lib/libeatmydata.so


Version-Release number of selected component (if applicable):
eatmydata-130-3.fc35.noarch


I built the rpm myself and the Fedora build logs[1] for the x86_64 version do set eatmydata.sh correctly.  Perhaps related is the eatmydata package is a .noarch, I'm guessing the package was presumed identical to the 32-bit version and that's just what got shipped in the x86_64 repo.

Thus, it seems the core issue is eatmydata should not be a .noarch since it has architecture-specific paths in its files.

[1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1977467

PS - Thanks to Stewart for making this an official fedora package.  I am a regular eatmydata user and have used my own libeatmydata rpm for 10-15 years. It's nice to have it easily installable for new Fedora systems.  Noticed this after a nightly 'dnf upgrade' broke the next night's "eatmydata dnf upgrade"!  :-)

Comment 1 Chris Schanzle 2022-06-26 23:01:24 UTC
Quick fix until an updated package is available:

sudo sed -i.bak 's#/usr/lib/libeatmydata#/usr/lib64/libeatmydata#'  /usr/libexec/eatmydata.sh

Comment 2 Fedora Update System 2022-07-01 20:21:20 UTC
FEDORA-EPEL-2022-501960c6ad has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-501960c6ad

Comment 3 Fedora Update System 2022-07-01 20:21:21 UTC
FEDORA-EPEL-2022-e9c461b01e has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e9c461b01e

Comment 4 Fedora Update System 2022-07-01 20:21:22 UTC
FEDORA-EPEL-2022-737232341b has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-737232341b

Comment 5 Fedora Update System 2022-07-01 20:21:23 UTC
FEDORA-2022-894c35de89 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-894c35de89

Comment 6 Fedora Update System 2022-07-01 20:21:24 UTC
FEDORA-2022-f8242487fe has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f8242487fe

Comment 7 Fedora Update System 2022-07-02 00:19:53 UTC
FEDORA-EPEL-2022-e9c461b01e has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e9c461b01e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-07-02 01:07:56 UTC
FEDORA-2022-894c35de89 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-894c35de89`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-894c35de89

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-07-02 01:50:25 UTC
FEDORA-EPEL-2022-737232341b has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-737232341b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-07-02 02:08:01 UTC
FEDORA-EPEL-2022-501960c6ad has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-501960c6ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-07-02 02:08:34 UTC
FEDORA-2022-f8242487fe has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f8242487fe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f8242487fe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-07-10 00:38:37 UTC
FEDORA-2022-f8242487fe has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2022-07-10 00:45:46 UTC
FEDORA-2022-894c35de89 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2022-07-10 00:57:22 UTC
FEDORA-EPEL-2022-e9c461b01e has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2022-07-10 01:09:25 UTC
FEDORA-EPEL-2022-737232341b has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2022-07-10 01:21:14 UTC
FEDORA-EPEL-2022-501960c6ad has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.