Newer version with important fixes

Bug #2037665 reported by Kai Henningsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnss-pgsql (Ubuntu)
New
Undecided
Unassigned

Bug Description

... can be found at

https://ftp.postgresql.org/pub/projects/pgFoundry/sysauth/NSS/nss1.5.0-beta/libnss-pgsql-1.5.0-beta.tgz

From the changelog:

diff -ausr libnss-pgsql-1.4.0/ChangeLog libnss-pgsql-1.5.0-beta/ChangeLog
--- libnss-pgsql-1.4.0/ChangeLog 2006-01-10 03:35:34.000000000 +0100
+++ libnss-pgsql-1.5.0-beta/ChangeLog 2008-08-19 11:44:37.000000000 +0200
@@ -1,3 +1,18 @@
+2007-07-22 Russell Smith <email address hidden>
+ * Produced a new example SQL file based on testing. This new file
+ also fixes bugs in the examples of the previous file.
+
+ * Use local error pointer to avoid invalid return values
+ PQgetvalue() would overwrite the global valid incorrectly
+
+ * Add alternative getgroupfromquery option to speedup return of
+ group members and reduce the number of database queries on getgrent
+
+2007-04-26 Russell Smith <email address hidden>
+ * Merged further changes from debian bug reports
+
+ * Update documentation for SSL problems
+
 2006-01-10 Russell Smith <email address hidden>
        * Merged all changes with the debian project that are known. Version
        number is updated to be larger than all current versions of this

I especially like "based on testing". And the fact that this NEWER version is around 15 YEARS OLD, and I found it in about 10 minutes of searching.

Another rather important comment found in the diff:

+# It is advised if you run postgresql on the same server as libnss-pgsql that you have
+# ssl connection turned off in your connection string.
+# You can hang your machine attempting to connect to the postgresql database.
+# sslmode=disable
+#
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279581
+#
+# Without a running nscd, PQconnectdb attempts to setup the SSL
+# environment and searches for $HOME/.postgresql/server.crt (or similar),
+# calling getpwuid to retrieve the home-directory. This obviously causes
+# another entrance into libnss-pgsql which results in a hang while waiting
+# for the (already owned) lock.

That hang is actually why I went searching in the first place.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.