2

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?

gvkv
  • 293
  • 3
  • 14

1 Answers1

1

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.

Magnus Hagander
  • 2,287
  • 15
  • 9
  • 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 08:18