Bug 21861

Summary: PostgreSQL on jailed enviroment fails
Product: Base System Reporter: paulo
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description paulo 2000-10-09 13:40:01 UTC
There is a trouble with postgresql running on jail enviroment. If on
host enviroment there are two or more jail enviroment then the postgresql
can interact across jails!!

Fix: 

We're thinking there is a IPC (SYSVSHM) problem whith jailed
envirotment.
How-To-Repeat: On host enviroment we install tow jails. On jails enviroments we install
postgresql. We start the postgresql on each jail enviroment. After
start we've got some erros like users creted on jail1 don't exist on
jail2 and IPC erros. Ex: IpcSemaphoreCreate: semget failed.
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-06-02 10:37:07 UTC
State Changed
From-To: open->closed

The jail.sysvipc_allowed sysctl controls SYSV IPC syscalls. 
See however the note in the jail manpage about it.