Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 15:38:46 +0100
From:      =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>
To:        "Bender, Chris" <chris_bender@cellularatsea.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: jails
Message-ID:  <4F27FCF6.9010107@wasikowski.net>
In-Reply-To: <assp.0377d9cd52.863259E16B6C464DAD1E9DD10BB311540582EC54@wmsexg01.corp.cellularatsea.com>
References:  <assp.0377d9cd52.863259E16B6C464DAD1E9DD10BB311540582EC54@wmsexg01.corp.cellularatsea.com>

next in thread | previous in thread | raw e-mail | index | archive | help
W dniu 2012-01-31 13:37, Bender, Chris pisze:

> Also I found many fstab files in etc for the system
> 
> fstab.tools2 
> 
> /usr/jails/basejail /usr/jails/tools2/basejail nullfs ro 0 0
> 
> what is this for?

ezjail mounts basejail (basesystem) in every jail using nullfs. This way
updates are easier, as you just update basejail (man ezjail-admin,
update section). Every jail may have /etc/fstab.jailname file which
allows you to mount ie. NFS shares.

I can try to help you, but first of all you need to show me output of
those commands:

uname -rsp
jls
grep -Ev "^#|^$" /usr/local/etc/ezjail.conf
grep -Ev "^#|^$" /usr/local/etc/ezjail/tools2

You don't need jail_enable="YES" in /etc/rc.conf if you're using ezjail.
Make sure your /etc/rc.conf file contains this line:

ezjail_enable="YES"

and start jails (using ezjail) by running:

/usr/local/etc/rc.d/ezjail.sh start

Were there any errors?

-- 
best regards,
Lukasz Wasikowski



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F27FCF6.9010107>