Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109496302
D41723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D41723.diff
View Options
diff --git a/usr.sbin/jail/jail.conf.5 b/usr.sbin/jail/jail.conf.5
--- a/usr.sbin/jail/jail.conf.5
+++ b/usr.sbin/jail/jail.conf.5
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd Jun 3, 2023
+.Dd September 5, 2023
.Dt JAIL.CONF 5
.Os
.Sh NAME
@@ -164,11 +164,22 @@
.Ss Includes
A line of the form
.Bd -literal -offset ident
-.include "filename";
+\&.include "filename";
.Ed
.Pp
-will include another file in the configuration. The filename must be
-a literal string, and cannot contain variable expansions.
+will include another file (or files) in the configuration.
+The filename should be either absolute, or relative to the
+configuration file's directory. It cannot contain variable
+expansions, but may contain
+.Xr glob 3
+patterns.
+.Pp
+The included file must exist, though a filename glob may match zero or
+more files. This allows inclusion of any/all files in a directory,
+such as
+.Dq /etc/jail.conf.d/*.conf ,
+or conditional inclusion of a single file, such as
+.Dq jail.foo[.]conf .
.Ss Comments
The configuration file may contain comments in the common C, C++, and
shell formats:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 8:01 PM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16500672
Default Alt Text
D41723.diff (1 KB)
Attached To
Mode
D41723: Fix ".include" section of jail.conf.5
Attached
Detach File
Event Timeline
Log In to Comment