Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2024 05:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280108] jail.conf: include lines: syntax error
Message-ID:  <bug-280108-227@https.bugs.freebsd.org/bugzilla/>

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

            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 =3D "/bin/sh /etc/rc";
exec.stop  =3D "/bin/sh /etc/rc.shutdown";
exec.clean;
exec.system_user =3D "root";
exec.jail_user =3D "root";
mount.devfs;
allow.mount;
allow.raw_sockets =3D 0;
allow.set_hostname =3D 0;
allow.sysvipc =3D 0;

.include"/etc/jail.conf.d/*.conf";

--=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-280108-227>