Project

General

Profile

Feature #789

Enable SysVIPC in a FreeNAS Jail

Added by Daniel Curtis about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network Attached Storage
Target version:
Start date:
04/03/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

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:
    1. Variable: security.jail.sysvipc_allowed
    2. Value: 1
    3. Type: Sysctl
    4. Comment: Enable SysVIPC
    5. 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, example allow.raw_sockets=true,allow.sysvipc=1
  • Click OK

Now the jail.exmaple.com will have SysVIPC available for programs to use.

#1

Updated by Daniel Curtis about 8 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis about 8 years ago

  • Status changed from Resolved to Closed
#3

Updated by Daniel Curtis almost 8 years ago

  • Description updated (diff)

Also available in: Atom PDF