Date: Fri, 26 Jul 2013 01:30:11 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Marek Rudnicki <marekrud@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: combining rc.conf and jail.conf Message-ID: <51F1B503.8070904@quip.cz> In-Reply-To: <878v0u72ra.fsf@gmail.com> References: <878v0u72ra.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Marek Rudnicki wrote: > Hello > > I have a jail configuration in /etc/jail.conf and can start it with: > > # jail -c myjail > > > However, I would like to start it automatically at system boot, e.g. by > using /etc/rc.conf . What's the best way to do that? > > And generally, is it the recommended way to configure jail in > /etc/jail.conf and just start them with /etc/rc.conf ? > > Cheers > Marek > > PS I'm running FreeBSD 9.1-RELEASE-p4 You can install sysutils/jail2 - it is new rc script for starting jails configured in /etc/jail.conf. Original /etc/rc.d/jail cannot start jails from jail.conf Beware of bug in handling of devfs rulesets in FreeBSD 9.1 - see archive of this list. (I think it is fixed in stable and 9.2) Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F1B503.8070904>