When using FHS Opt layout, package 389-ds-base installs common script library DSSharedLib at different place than the scripts using it expect:
In scripts, the library is included by this command (see eg. bak2db.in):
source @datadir@/@package_name@/data/DSSharedLib
In configure script, the datadir is defined as follows:
datadir='${datarootdir}' datarootdir='${prefix}/share'
The resulting path is then (using prefix /opt/dirsrv):
/opt/dirsrv/share/dirsv/data/DSSharedLib
On the other hand, Makefile.am installs DSSharedLib into
sampledatadir = $(datadir)@sampledatadir@
where @sampledatadir@ is defined by configure.in for fhs-opt as: sampledatadir=/data
The resulting path then is (with /opt/dirsrv prefix):
/opt/dirsrv/share/data/DSSharedLib
FHS Opt layout is not our first-tier layout.
Note: Your patches are always welcome.
Metadata Update from @nhosoi: - Issue set to the milestone: FUTURE
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to None - Issue close_status updated to: wontfix - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/851
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.