Shared memory and FreeBSD's jail()

From: lister <lister(at)primetime(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Shared memory and FreeBSD's jail()
Date: 2005-05-19 14:46:16
Message-ID: 428CA6B8.4030001@primetime.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


At the BSDCan tutorial last week on jails (and several other times)
there was discussion regarding Postgres's use of system V style
shared memory, and an unfortunate side effect of making jail() less
secure. Specifically, to allow Postgres to operate in a jail()ed
environment, the sysctl :
jail.sysvipc_allowed=1
has to be set. This allows ALL jails to access the memory, at the least
leaving Postgres open to attack, at the worst allowing a door into who
knows what security breach.
Question : is there any way to run Postgres securely in a jail?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tmpmac 2005-05-19 14:49:27 unique index with bool
Previous Message Berend Tober 2005-05-19 14:42:28 Preserving data after updates