Enable semaphores in jail

Status
Not open for further replies.

John Gorst

Dabbler
Joined
Dec 18, 2014
Messages
15
I have installed a daemon (z-push for setting up an Exchange push server for an IMAP mailbox) that requires semaphores otherwise I get the following error in it's log

18/12/2014 13:11:20 [ 7618] [ERROR] [gorstj] InterProcessData::InitSharedMem(): could not aquire semaphore

I can manually enable semaphores by running: (substituting the relevant JID)
jail -m jid=3 allow.sysvipc=1

However this is not persistent between reboots of freenas.

I have added the following 'tuneables' to freenas to try and sort out the situation
jail_sysvipc_allow="YES" (rc)
security.jail.sysvipc_allowed="1" (sysctl)

(see screenshot)

I then rebooted but that doesn't seem to enable semaphores.

What else do I need to do to enable semaphores? Why aren't they enabled in Jails by default?

Thank you for any help you can give..... I am a relative linux/bsd newbie and more used to Mac Os X GUI.... but I try my best!
 

Attachments

  • Screen Shot 2014-12-18 at 13.39.08.png
    Screen Shot 2014-12-18 at 13.39.08.png
    106.5 KB · Views: 304

John Gorst

Dabbler
Joined
Dec 18, 2014
Messages
15
Great! Adding allow.sysvipc=1 worked perfectly!!

Thank you very much!!

(well after I realised it was a comma delimited list rather than just add it on a separate line!!! Maybe this should be explicitly stated rather than hidden in the help box)
 
D

dlavigne

Guest
(well after I realised it was a comma delimited list rather than just add it on a separate line!!! Maybe this should be explicitly stated rather than hidden in the help box)

Just to clarify, is there a tooltip to that affect for this setting? If not, you could create a feature request to add it to a tooltip and post the issue number here as not everyone reads or is aware of the docs.
 
Status
Not open for further replies.
Top