Comment 13 for bug 1020591

Revision history for this message
John Ryan (johnryannz) wrote :

Hi again,

I can add some new information now. As described by Topaz, if both the server and the client are running Precise then the problem is observed as described. If Oneiric is used as the client then the problem disappears suggesting that the issue is entirely client-side. Further, the version of libneon27-gnutls used by Precise and Oneiric is identical suggesting that the neon-gnutls library is not the problem (corroborated by the fact that installing libneon27 and using the LD_PRELOAD trick also doesn't work in Precise). However, the version of libgnutls26 between Oneiric and Precise is different and using LD_PRELOAD to load the Oneiric version of this library solves the problem in Precise.

Strangely however, Quantal also suffers from this problem but it can be fixed by using LD_PRELOAD to load the libneon27 library. LD_PRELOADing the libgnutls26 version from Oneiric doesn't work because libneon27-gnutls has a dependency on version 2.12 of libgnutls (Oneiric uses 2.10)!

Here is a summary:

"Out of the box": Oneiric OK, Precise fails, Quantal fails.

Install libneon27 and set LD_PRELOAD=/usr/lib/libneon.so.27: Oneiric OK, Precise fails, Quantal OK

Set LD_PRELOAD=libgnutls.so.26.16.14 (Oneiric version): Oneric OK, Precise OK, Quantal fails

Workarounds:

Precise: Download the Oneiric version of libgnutls.so.26.16.14 and set LD_PRELOAD to point to this file.
Quantal: Install libneon27 and set LD_PRELOAD=/usr/bin/libneon.so.27

For the record, the releases have the following versions of the libraries:

Oneiric
libneon27-gnutls_0.29.6-1 (library version libneon-gnutls.so.27.2.6)
libgnutls26_2.10.5-1ubuntu3.2 (library version libgnutls.so.26.16.14)

Precise
libneon27-gnutls_0.29.6-1 (library version libneon-gnutls.so.27.2.6)
libgnutls26_2.12.14-5ubuntu3.1 (library version libgnutls.so.26.21.8)

Quantal
libneon27-gnutls_0.29.6-3 (library version libneon-gnutls.so.27.2.6)
libgnutls26_2.12.14-5ubuntu4 (library version libgnutls.so.26.21.8)