RFC for wider rc.conf.d/ for jails

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Mon, 18 Jun 2007 00:58:25 +0200
Hi,

It is only possible to use /etc/rc.conf.d/${name}, where ${name} is the
command name in rc(8) scripts.  For instance, one can use use
/etc/rc.conf.d/named thanks to /etc/rc.d/named.  However it is not
possible to use /etc/rc.conf.d/foo because command "foo" is not provided
by any rc.d script.

I would like to extend this behaviour for /etc/rc.d/jail in order to
be able to have one file per jail.  It would require to either modify
rc.subr or hack up etc/rc.d/jail to include some additional files.
I am thinking about the following layout:

% # cat rc.conf.d/jail
% jail_list="mail www"
% # cat rc.conf.d/jail.mail
% [...]	    # "mail" jail configuration variables.
% # cat rc.conf.d/jail.www
% [...]	    # "www" jail configuration variables.

Any comment about this?
Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
Received on Mon Jun 18 2007 - 20:27:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC