[Bug 233310] jail.conf system should be modularized to conf.d approach

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 20 13:09:59 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233310

Christian Sturm <reezer at reezer.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reezer at reezer.org

--- Comment #2 from Christian Sturm <reezer at reezer.org> ---
I don't think it really is the same thing, as it seems that one is required
to use rc.conf. While that might be a workaround allowing something like

include /etc/jail.d/*.conf

or even:

include /usr/local/etc/jail.d/*.conf

would allow one to simply use a file system overlay or installing
a jail for example via a package without having to modify rc scripts.

In that regard it could behave similar to newsyslog.conf.d which recently
got a similar features allowing the same thing.

This might even benefit the ports system.

So while using rc.conf is a workaround /etc/rc.d/jail defaults to
just loading /etc/jail.conf and it would be nice for software that
is able to handle jail.conf(5) syntax to create (or parse) such
jail configuration files and not having to understand how /etc/rc.d
precisely parses options in the rc.conf.

It would be really helpful for third party software and automation
to have a setup similar to newsyslog.conf.d, where includes are
supported (the syntax above is just an example, maybe )
and per default - if enabled - looks in both /etc/ and /usr/local/etc.

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


More information about the freebsd-bugs mailing list