Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 16:37:15 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        ?? ?? <jas_arlerr@hotmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Configuration differences for jails
Message-ID:  <20050420143715.GF91329@obiwan.tataz.chchile.org>
In-Reply-To: <20050420135013.GE91329@obiwan.tataz.chchile.org>
References:  <BAY2-F389017D4F55242220F49FFF22B0@phx.gbl> <20050420135013.GE91329@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Now with some distance, I must admit that all this gymnastic is quite
> boring.  I now decided to run two virtual hosts as they are managed in
> a very natural way.  These two hosts are just like two real boxes, one
> running Bind and the other one running Postfix.  When I need to update
> something in the configuration, I login to the box with ssh(1).  This
> take some more memory and in principle no CPU as all processes are
> sleeping most of the time.

I forgotten to explain that using virtual hosts require some
administration too in order to avoid wasting disk space.  The jail(8)
manual page advices to make world with DESTDIR set.  I prefer using
null mounts as it doesn't require additional disk space and an upgrade
of the host will automagically upgrade virtual hosts.  You will
nevertheless have to make distribution and distrib-dirs.  Here are the
directories I advice you to share :
    /bin /sbin /lib /libexec
    /usr/bin /usr/sbin /usr/lib /usr/libexec /usr/libdata /usr/share
    /usr/doc /usr/compat /usr/ports

Sharing ports may be more difficult as it may require sharing the
port database, but I think it's still possible.

-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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