How to allow mlock(2) in jail?
timp87 at gmail.com
Tue Jan 10 11:51:10 UTC 2017
10 янв. 2017 г. 3:48 пользователь "Ernie Luzar" <luzar722 at gmail.com>
Pavel Timofeev wrote:
> 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.
A jail has no kernel so no memory to lock.
Thank you for the reply!
More information about the freebsd-questions