Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2023 11:44:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 274568] rc.conf(5): Empty "jail_list" does not start jails defined in "/etc/jail.conf.d"
Message-ID:  <bug-274568-29815-zMJqsX5NId@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274568-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274568-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274568

Antranig Vartanian <antranigv@freebsd.am> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antranigv@freebsd.am

--- Comment #3 from Antranig Vartanian <antranigv@freebsd.am> ---
Greetings,


In FreeBSD 13.2-RELEASE, jail_list=3D"" will start the jails that are defin=
ed in
jail.conf. If you want to start the jails in jails.conf.d, you have to use
jail_list.

In FreeBSD 14, the behavior seems to be the same (at least according to the
code). However, you can do the following in jail.conf


.include("/etc/jail.conf.d/foo.conf")


which is better than using jail_list, as it will give you the ability to use
features such as depends, multi-layer includes, etc.


This, indeed, seems like a bug in documentation. I will fix it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274568-29815-zMJqsX5NId>