Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question is prompted by this one.

I've set up a jail to run PostgreSQL but without allow.sysvipc when creating the jail (or setting the relevant rc.conf entries), the system call to shmget are blocked and PostgreSQL won't run. The problem is that by setting allow.sysvipc the whole point of having a jail is eliminated.

Are there alternatives?

share|improve this question
up vote 1 down vote accepted

Use full virtualization instead of jails (like KVM). (Or have someone fix jails in FreeBSD so they actually separate things).

PostgreSQL will always require shared memory and there is no way around it.

share|improve this answer
They do separate things. But sometimes, they separate the functionality from the jail when what's wanted is split views of the functionality. ;) – Phil P Jul 15 '10 at 8:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.