Re: Debian readline/libedit breakage

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: Markus Wanner <markus(at)bluegap(dot)ch>, jd(at)commandprompt(dot)com, pgsql-hackers(at)postgresql(dot)org, Martin Pitt <mpitt(at)debian(dot)org>
Subject: Re: Debian readline/libedit breakage
Date: 2011-02-14 14:02:54
Message-ID: 4D59360E.6070309@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/14/2011 08:27 AM, Greg Smith wrote:
> Markus Wanner wrote:
>> Anybody realized that this Debian bug (and several others) got closed in
>> the mean time (Sunday)? According to the changelog [1], Martin Pitt
>> (which I'm CC'ing here, as he might not be aware of this thread, yet)
>> worked around this issue by pre-loading readline via LD_PRELOAD for
>> psql.
>>
>> Personally, I'm a bit suspicious about that solution (technically as
>> well as from a licensing perspective), but it's probably the simplest
>> way to let only psql link against readline.
>
> This originated in
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608442 , and from
> what I'm reading there it sounds like Martin is inserting this as a
> workaround but it hasn't passed through Debian Legal yet. I would
> expect them to reject this as unacceptable. Dynamic linking via
> LD_PRELOAD is still linking, even if it happens at runtime. I commend
> Martin for buying some time here by doing that, but this doesn't
> change the urgency to come up with an alternate solution much to me.
> As I see it, that change could be reverted at any time via pushback
> from legal.
>
> As far as working around this by releasing our own packages goes,
> that's useful, but I'd also characterize that as only a workaround
> rather than a real solution. OpenSSL is open-source, but it's not
> "free software" via that standards of the FSF, which I feel is a
> completely reasonable position given the license. When you depend on
> a software stack built from unambiguously free software, having
> components that aren't you've wedged in there and are dependent on is
> never a good idea. I won't consider this truly resolved until GnuTLS
> support for PostgreSQL is in core.

Given the links Marko just posted, maybe NSS would be a better bet.
Apparently they also have some sort of compatibility library too.

I agree that the LD_PRELOAD trick seems absurd, and unlikely to be
acceptable to FSF types.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Frederik Ramm 2011-02-14 14:11:32 using a lot of maintenance_work_mem
Previous Message Anssi Kääriäinen 2011-02-14 13:58:56 Re: pg_terminate_backend and pg_cancel_backend by not administrator user