diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-04-11 19:26:42 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-04-11 19:26:42 +0000 |
commit | ba60acf17e70ba2330dbd3dba13ba75438307901 (patch) | |
tree | b20051a42f8500fde1924cd443fdca025e3d2d0e /doc/src | |
parent | fac2ba5da350f1fc0a5aa44d6251b13c3d202849 (diff) |
Add documentation about running postmasters in FreeBSD jails (use
separate users).
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 20e63bea75d..3c38ff838c7 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.366 2006/04/03 23:35:02 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.367 2006/04/11 19:26:42 momjian Exp $ --> <chapter Id="runtime"> <title>Operating System Environment</title> @@ -764,6 +764,18 @@ options "SEMMNS=240" </para> <para> + If running in FreeBSD jails by enabling <application>sysconf</>'s + <literal>security.jail.sysvipc_allowed</>, <application>postmaster</>s + running in different jails should be run by different operating system + users. This improves security because it prevents one jail from + interfering with shared memory or semaphores in another, and it + allows the PostgreSQL IPC cleanup code to function properly. + (In FreeBSD 6.0 and later the IPC cleanup code doesn't properly detect + processes in other jails, preventing the running of postmasters on the + same port in different jails.) + </para> + + <para> <systemitem class="osname">FreeBSD</> versions before 4.0 work like <systemitem class="osname">NetBSD</> and <systemitem class="osname"> OpenBSD</> (see below). |