Date: Mon, 28 Sep 2009 12:13:09 -0600 From: Jamie Gritton <jamie@FreeBSD.org> To: Edwin Shao <edwin.shao@gmail.com> Cc: freebsd-jail@FreeBSD.org Subject: Re: Tutorial for Hierarchical Jails? Message-ID: <4AC0FCB5.2050009@FreeBSD.org> In-Reply-To: <cf8a6aa50909281045x47e58e99y92437ffa86c72846@mail.gmail.com> References: <cf8a6aa50909280506g63030d9ft423c42e8c61700d@mail.gmail.com> <4AC0E5E6.1010700@FreeBSD.org> <cf8a6aa50909281045x47e58e99y92437ffa86c72846@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Shao wrote: > When I try to change the parameter, nothing happens: > rescue /etc> sudo sysctl security.jail.param.children.max=1 > security.jail.param.children.max: 0 -> 0 > > rescue /etc> sudo sysctl security.jail.param.children.max > security.jail.param.children.max: 0 > > Am I doing this incorrectly? Yes. Use jail(8) to set the parameters, not sysctl. The security.jail.param.* sysctls are for reference only and have no useful values to get or set. Set it with: jail -m jid=<jid> children.max=1 Run this on the base system, i.e. not inside the jail in question. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC0FCB5.2050009>