Re: Re: [PATCHES] PostgreSQL virtual hosting support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David J(dot) MacKenzie" <djm(at)web(dot)us(dot)uu(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] PostgreSQL virtual hosting support
Date: 2000-11-14 18:03:42
Message-ID: Pine.LNX.4.21.0011141859150.1116-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian writes:

> > I think we had some discussions about changing the way that shared
> > memory keys are generated, which might make this a less critical issue.
> > But until something's done about that, this patch looks awfully
> > dangerous.
>
> But do we yank it out for that reason? I don't think so.

Now that I read the author's description of this feature, I'm no longer
sure what it's good for:

You can use this option to put the Unix domain socket in a
directory that is private to one or more users using Unix
directory permissions. This is necessary for securely
creating databases automatically on shared machines. In that
situation, also disallow all TCP/IP connections initially in
<filename>pg_hba.conf</filename>.

You can do that in a more stylish and safer manner by using the
unix_socket_permissions and unix_socket_group options.

I won't argue for removing it, but let's not spread the word too widely
before we fix the issues. :-)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David J. MacKenzie 2000-11-14 18:16:50 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Tom Lane 2000-11-14 17:48:35 Re: Re: UUNET socket-file-location patch

Browse pgsql-patches by date

  From Date Subject
Next Message Alfred Perlstein 2000-11-14 19:33:11 Re: got Postgresql working on FreeBSD-alpha
Previous Message Alfred Perlstein 2000-11-14 17:45:48 Re: got Postgresql working on FreeBSD-alpha