Re: SSL over Unix-domain sockets

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SSL over Unix-domain sockets
Date: 2008-01-15 20:14:56
Message-ID: Pine.GSO.4.64.0801151406140.27131@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, 15 Jan 2008, Tom Lane wrote:

> I think on most systems you'd have to explicitly tweak the /tmp-cleaning
> script to know not to zap such a link. Given that such a local
> customization would probably disappear in your next system update, the
> security gain might be fleeting.

Right, on the RedHat box I have handy you'd have to edit
/etc/cron.daily/tmpwatch and add "-x s.PGSQL.5432" to the first line
there. I don't think that file changes very often because of routine
updates anyway, and even if it did you wouldn't lose your custom version.
That's listed as a config file, not a binary, so the revised one would
show up as tmpwatch.rpmnew and it would be your job to reconcile the
packager's changes. People who just let the GUI updater loose might not
notice that though.

Other types of systems will obviously have their own ways to cope with
such local customization. In the short-term, you're already exposed to
the problem when walking down this road because of the edit to the startup
script that creates the symlink in the first place. For some people
that's also a tweak to a script that could be updated in a conflicting
way.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-01-15 21:02:42 Re: pgsql: Fix an ancient oversight in libpq's handling of V3-protocol COPY
Previous Message Tom Lane 2008-01-15 19:22:31 Re: Index trouble with 8.3b4

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-15 23:01:24 Re: 8.3-beta4, analyze and db owner
Previous Message Kevin Grittner 2008-01-15 16:58:20 Re: SSL over Unix-domain sockets