[Bug 280108] jail.conf: include lines: syntax error
Date: Wed, 03 Jul 2024 05:40:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280108
Bug ID: 280108
Summary: jail.conf: include lines: syntax error
Product: Base System
Version: 14.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: bugs@FreeBSD.org
Reporter: p5B2EA84B3@t-online.de
From man jail.conf(5)
# Include configurations from standard locations.
.include "/etc/jail.conf.d/*.conf";
Any /etc/jail.conf with include lines like:
.include "/etc/jail.conf.d/*.conf";
.include "/etc/jail.conf.d/jail_test.conf";
produce syntax errors like:
jail: /etc/jail.conf line 15: "/etc/jail.conf.d/*.conf": syntax error
The jail.conf used:
# See man 5 jail.conf for more information
# Defaults
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
exec.system_user = "root";
exec.jail_user = "root";
mount.devfs;
allow.mount;
allow.raw_sockets = 0;
allow.set_hostname = 0;
allow.sysvipc = 0;
.include"/etc/jail.conf.d/*.conf";
--
You are receiving this mail because:
You are the assignee for the bug.