On Thu, Oct 06, 2011 at 02:46:40AM +0300, Faidon Liambotis wrote:
> On Sun, Jan 09, 2011 at 05:36:46AM +0200, Faidon Liambotis wrote:
> > Everything but trivial perl scripts fail using slapd's back-perl,
> > probably for the reasons stated in this bug.

> > If I were opening the bug, I'd surely use a much more severe
> > severity, but since the maintainers have commented and haven't done
> > that, I'll refrain from doing so.

> > The symptoms are the same and LD_PRELOADing libperl fixes the problem.

> > However, this is on amd64 (and perl links to libperl) so, if I
> > understood correctly, this contradicts Russ' analysis.

> > Any reason not to apply the patch from #139 which allegedly fixes the issue?

> Ping?

As Russ has said earlier in the bug thread, the *right* fix is to fix perl
on i386 so that everything is linked against libperl.  All other solutions
are workarounds, not fixes.

The patch proposed in message #139 carries side effects, because it will
cause openldap to open all modules with RTLD_GLOBAL.  This increases the
risk of a symbol collision causing openldap to crash (the precise issue that
libltdl was switched to RTLD_LOCAL to avoid), and even if that doesn't
result in a bug now, it might do so in the future.  So I'm not thrilled
about this patch.

But it seems to be the best we can do short of the perl fix, on which
there's been no movement.  So I'll go ahead and apply this patch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to