Red Hat Bugzilla – Bug 820547
PATCH: Adding support for openldap-servers-perl
Last modified: 2013-05-06 09:43:04 EDT
Created attachment 583511 [details]
Adds support for openldap-servers-perl
Description of problem:
There is no current support for the perl backend of openldap
Version-Release number of selected component (if applicable):
This patch adds support for the perl backend
We are thinking about this. ;-)
I'd like to get the perl backend working in fedora. If you don't want to let the patch through, can you discuss what the problem is?
Sorry, but I really know about this report.
The problem is rather a political. According to the documentation, the backend is primarily intended for prototyping. And I'm not sure if this brings any pitfails. And I haven't decided if this belongs to a separate subpackage.
There are still some important fixes I want to get into F18. And I want to have the git branch synced with Rawhide branch as long as possible. So, please, wait till the F18 is out. Then I will enable the perl backend both in F18 and Rawhide and we can get some feedback via updates-testing. No experiments for now. :-)
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
openldap-2.4.34-1.fc18 has been submitted as an update for Fedora 18.
openldap-2.4.34-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
FYI, I got the following error in /var/log/messages when I tried to start slapd.service with perl enabled:
May 2 15:14:25 node-02 check-config.sh: 5182c921 /etc/openldap/slapd.conf: line 22: error Can't load '/usr/lib64/perl5/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib64/perl5/auto/Fcntl/Fcntl.so: undefined symbol: PL_thr_key at /usr/share/perl5/XSLoader.pm line 68.
I found that adding the line:
to /etc/sysconfig/slapd seems to have resolved the problem.
I'm using Fedora 18
rpm -q openldap-servers
(In reply to comment #8)
> FYI, I got the following error in /var/log/messages when I tried to start
> slapd.service with perl enabled:
> May 2 15:14:25 node-02 check-config.sh: 5182c921
> /etc/openldap/slapd.conf: line 22: error Can't load
> '/usr/lib64/perl5/auto/Fcntl/Fcntl.so' for module Fcntl:
> /usr/lib64/perl5/auto/Fcntl/Fcntl.so: undefined symbol: PL_thr_key at
> /usr/share/perl5/XSLoader.pm line 68.
I consulted this with the perl maintainer. Slapd seems to be using dlopen() to load /usr/lib64/perl5/auto/Fcntl/Fcntl.so, which is a perl plugin that assumes that the libperl.so is already loaded.
Do you use your own perl installation, or the one that's included in Fedora?
Also, could you provide a reproducer?
Follow up in bug 960048.