pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christian Kastner <debian@kvr.at>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Possible regression: libpq + SSL aborts when user has no home directory
Date: Fri, 04 Mar 2011 11:41:33 -0500
Message-ID: <29410.1299256893@sss.pgh.pa.us> (raw)
In-Reply-To: <4D705FC3.6050008@kvr.at>
References: <4D6FF05E.1050201@kvr.at>
	<8295.1299189555@sss.pgh.pa.us>
	<10824.1299196694@sss.pgh.pa.us>
	<4D705FC3.6050008@kvr.at>

Christian Kastner <debian@kvr.at> writes:
> On 03/04/2011 12:58 AM, Tom Lane wrote:
>> Attached is an untested patch which I'd appreciate if you (or somebody
>> else who uses SSL connections more than I do) could test.

> I can confirm that this fixes the issue for me.

> I tested this with psql and PGSSLMODE={disable,prefer,verify-ca}, with
> various (or no) PGSSLROOTCERTs in the case of verify-ca. In all cases,
> the result was the expected one.

Great, thanks very much for testing!  I've applied the patch (with the
adjustment of error message) to HEAD and 9.0.

			regards, tom lane



view thread (7+ messages)

Message-ID: <29410.1299256893@sss.pgh.pa.us>
Permalink:  ../29410.1299256893@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29410.1299256893@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, debian@kvr.at
  Subject: Re: Possible regression: libpq + SSL aborts when user has no home directory
  In-Reply-To: <29410.1299256893@sss.pgh.pa.us>
  References: <4D6FF05E.1050201@kvr.at> <8295.1299189555@sss.pgh.pa.us> <10824.1299196694@sss.pgh.pa.us> <4D705FC3.6050008@kvr.at> <29410.1299256893@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox