[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting security.jail.sysvipc_allowed won't work with ezjail



Hi,

I want to run Postgresql inside a jail. For that, I need sysvipc to be
allowed inside
jails (see http://www.freebsddiary.org/jail-multiple.php).

On the host system I set security.jail.sysvipc_allowed=1:

#> sysctl security.jail.sysvipc_allowed
# security.jail.sysvipc_allowed: 1

I also added jail_sysvipc_allow="YES" to /etc/rc.conf.

Still, after I start my jail with /usr/local/etc/rc.d/ezjail.sh start
<jailname>, I get:

#> jexec git sysctl security.jail.sysvipc_allowed
# security.jail.sysvipc_allowed: 0

Did I miss something?

Any help would be greatly appreciated.

Johannes