Running Postgresql 9.3 in an ezjail

To get this working I had to follow these steps:

On the host:

  1. sudo echo 'security.jail.sysvipc_allowed=1' >> /etc/sysctl.conf

  2. sudo echo 'jail_sysvipc_allow="YES"' >> /etc/rc.conf

  3. sudo vi /usr/local/etc/ezjail/JAILNAME

    Change this line:

    export jail_JAILNAME_parameters=""

    to:

    export jail_JAILNAME_parameters="allow.sysvipc=1"

  4. Restart the jail:

    sudo ezjail-admin restart JAILNAME

SYSTEM ADMINISTRATION
freebsd jails postgresql

Comments