Bug 478619
Summary: | Augeas does not see /files on EPEL4 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Arnaud Gomes-do-Vale <arnaud.gomes> | ||||||
Component: | augeas | Assignee: | David Lutterkort <lutter> | ||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | el4 | CC: | apevec, hbrock, lutter | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-01-05 04:37:25 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Arnaud Gomes-do-Vale
2009-01-02 10:08:45 UTC
Mysterious .. there was a similar bug report on the mailing list. I need to set up a RHEL4 machine before I can try to reproduce that - in the meantime, it might help if you could run 'strace -o /tmp/augeas.txt augtool quit' and attach the file /tmp/augeas.txt to this bug (or email it to me) Created attachment 328130 [details]
strace -o /tmp/augeas.txt augtool quit
Here is the output of strace.
I guess I have found the bug. The files src/Makefile.in and src/Makefile.am in the augeas sources contain the following line: echo '#define DATADIR "$(abspath $(datadir))"' > datadir.h1 This is used to define the path to the augeas/lenses subdirectory (${datadir}/augeas/lenses, that is /usr/share/augeas/lenses by default). As far as I know, abspath has only been defined since GNU make 3.81; RHEL4 and its clones have version 3.80. So the search path becomes /augeas/lenses and obviously augtool find nothing there. Created attachment 328136 [details]
Patch for building on GNU make < 3.81
Rebuilding the package with this patch fixes the issue.
Nice work ... excellent find. I committed your patch upstream and built augeas-0.3.5-2 for EL-4. Please let me know if there are still issues. |