How to allow mlock(2) in jail?

Pavel Timofeev timp87 at gmail.com
Mon Jan 9 14:31:21 UTC 2017


Hello!
I'm trying to deploy security/vault in freebsd jail.
Usually this tool locks some memory for security reason.

I can run vault on my bare system without any problems. But in jail it
complains mlock(2) is not available.
So my question is how to allow mlock(2) in jail?

P. S. I know, I can disable mlock(2) use in vault config as workaround.


More information about the freebsd-questions mailing list