Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.