Running Postgresql 9.3 in an ezjail
📅 Jan 26, 2014
⌛ 1 minute
To get this working I had to follow these steps:
On the host:
sudo echo 'security.jail.sysvipc_allowed=1' >> /etc/sysctl.conf
sudo echo 'jail_sysvipc_allow="YES"' >> /etc/rc.conf
sudo vi /usr/local/etc/ezjail/JAILNAME
Change this line:
export jail_JAILNAME_parameters=""
to:
export jail_JAILNAME_parameters="allow.sysvipc=1"
Restart the jail:
sudo ezjail-admin restart JAILNAME