Feature #789
Enable SysVIPC in a FreeNAS Jail
Status:
Closed
Priority:
Normal
Assignee:
Category:
Network Attached Storage
Target version:
Description
I recently tried to install PostgreSQL in a FreeNAS 9.10 jail, only to see that SysVIPC must be enabled in the jail for it to work. This is a simple procedure for enabling SysVIPC in a FreeNAS 9.10 jail.
Enable SysVIPC on the Host¶
- Log into the FreeNAS administration panel and go to System -> Tunables
- Next click Add Tunable and add the following:
- Variable: security.jail.sysvipc_allowed
- Value: 1
- Type: Sysctl
- Comment: Enable SysVIPC
- Enabled: [X]
- Reboot the FreeNAS machine, just to be safe.
Create a SysVIPC Enabled Jail¶
- From the FreeNAS administration interface, go to Jails.
- Next click Add Jail and add the following:
- Jail Name: jail.example.com
- Sysctls: allow.sysvipc=1
NOTE: Make sure if appending the sysctl to additional options to use comma separation, exampleallow.raw_sockets=true,allow.sysvipc=1
- Click OK
Now the jail.exmaple.com will have SysVIPC available for programs to use.
Updated by Daniel Curtis over 8 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100