Date: Mon, 16 Jul 2007 09:17:51 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org Cc: Jeremie Le Hen <jeremie@le-hen.org> Subject: Re: RFC for wider rc.conf.d/ for jails Message-ID: <200707160917.51941.jhb@freebsd.org> In-Reply-To: <20070617225824.GA88370@obiwan.tataz.chchile.org> References: <20070617225824.GA88370@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 17 June 2007 06:58:25 pm Jeremie Le Hen wrote:
> 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.
Maybe instead /etc/jail/mail, etc.? I'd rather not overload /etc/rc.conf.d
since it already has a well-defined meaning.
--
John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707160917.51941.jhb>
