Bug 820547 - PATCH: Adding support for openldap-servers-perl
Summary: PATCH: Adding support for openldap-servers-perl
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 11:20 UTC by David Dick
Modified: 2013-05-06 13:43 UTC (History)
4 users (show)

Fixed In Version: openldap-2.4.34-1.fc19
Clone Of:
Environment:
Last Closed: 2013-03-11 13:26:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Adds support for openldap-servers-perl (1.62 KB, patch)
2012-05-10 11:20 UTC, David Dick
no flags Details | Diff

Description David Dick 2012-05-10 11:20:53 UTC
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):

2.4.29-2

Additional info:

This patch adds support for the perl backend

Comment 1 Jan Vcelak 2012-05-29 09:28:29 UTC
We are thinking about this. ;-)

Comment 2 David Dick 2012-09-17 11:06:01 UTC
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?

Comment 3 Jan Vcelak 2012-09-19 09:52:39 UTC
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. :-)

Jan

Comment 4 Fedora Admin XMLRPC Client 2013-01-30 11:10:47 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Update System 2013-03-11 13:47:02 UTC
openldap-2.4.34-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openldap-2.4.34-1.fc18

Comment 7 Fedora Update System 2013-03-27 00:44:39 UTC
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.

Comment 8 Gregory Lee Bartholomew 2013-05-02 21:29:02 UTC
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[14958]: 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:

LD_PRELOAD=/usr/lib64/perl5/CORE/libperl.so

to /etc/sysconfig/slapd seems to have resolved the problem.

I'm using Fedora 18

rpm -q openldap-servers
openldap-servers-2.4.34-1.fc18.x86_64

Comment 9 Jan Synacek 2013-05-06 08:33:55 UTC
(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[14958]: 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?

Comment 10 Jan Synacek 2013-05-06 13:43:04 UTC
Follow up in bug 960048.


Note You need to log in before you can comment on or make changes to this bug.