[Bug 274568] rc.conf(5): Empty "jail_list" does not start jails defined in "/etc/jail.conf.d"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Oct 2023 11:44:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274568

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="" will start the jails that are defined 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.

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