Discussion:
children of ezjail managed jails
Axel Rau
2021-03-19 18:47:11 UTC
Permalink
Hi all,
is it possible to create children of jails, managed by ezjail, which are also managed by ezjail?
I now try to create a child manually by jail(8), but I cant even set children.max in the parent.

In host:
/usr/local/etc/ezjail/JAILNAME:
export jail_JAILNAME_parameters="children.max=10“

In parent JAILNAME:
sysctl -a | grep children.max
security.jail.param.children.max: 0

What may be wrong here?
Axel
---
PGP-Key: CDE74120 ☀ computing @ chaos claudius
Ruben van Staveren via freebsd-jail
2021-03-21 22:19:59 UTC
Permalink
Hi Axel,

You mean nested jails?

I’m not sure what your use case is, but it is no longer possible to give ip addresses to those.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231773#c6 <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231773#c6>

Before the that change I used to have ezjails managed inside ezjails. I did not try the VIMAGE approach though

Best regards,
Ruben
Hi all,
is it possible to create children of jails, managed by ezjail, which are also managed by ezjail?
Can the basejail of the parent be used for that?
Can I just set children.max and ezjail_jaildir ?
I just need the children to install different versions of some packages.
I did not succeed with pkg install -r because of missing environment for pkg.
All help appreciated,
Axel
---
Loading...