From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marc G. Fournier <scrappy@hub.org>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
Date: Thu, 17 Jan 2008 09:37:29 -0500
Message-ID: <20080117143729.GR5031@tamriel.snowman.net> (raw)
In-Reply-To: <4089.1200550374@sss.pgh.pa.us>
References: <1200501702.478e33c61b74e@webmail.telus.net>
<fmmqfh$buq$3@news.hub.org>
<4089.1200550374@sss.pgh.pa.us>
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> "Marc G. Fournier" <scrappy@hub.org> writes:
> > Easiest fix: change the UID of the user running the postmaster (ie. pgsql) so
> > that each runs as a distinct UID (instead of distinct PGPORT) ... been doing
> > this since moving to FreeBSD 6.x ... no patches required ...
>
> Sure, but in the spirit of "belt and suspenders too", I'd think that
> doing that *and* something like Mischa's proposal wouldn't be bad.
I agree that we should try to be careful about stepping on segments that
might still be in use, but I would also discourage jail users from using
the same uid for multiple PG clusters since the jail doesn't protect the
shmem segment. We use seperate uids even w/ linux-vservers where shmem
and everything *is* seperate, following the same 'belt and suspenders
too' spirit for security.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 188B) download
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, scrappy@hub.org, pgsql-hackers@postgreSQL.org
Subject: Re: [ADMIN] postgresql in FreeBSD jails: proposal
In-Reply-To: <20080117143729.GR5031@tamriel.snowman.net>
* 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