From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 20 16:29:12 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D753A16A4CE for ; Wed, 20 Apr 2005 16:29:12 +0000 (GMT) Received: from hotmail.com (bay2-f23.bay2.hotmail.com [65.54.247.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id B01AA43D53 for ; Wed, 20 Apr 2005 16:29:12 +0000 (GMT) (envelope-from jas_arlerr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 20 Apr 2005 09:29:12 -0700 Message-ID: Received: from 61.187.54.13 by by2fd.bay2.hotmail.msn.com with HTTP; Wed, 20 Apr 2005 16:29:11 GMT X-Originating-IP: [61.187.54.13] X-Originating-Email: [jas_arlerr@hotmail.com] X-Sender: jas_arlerr@hotmail.com In-Reply-To: <20050420143715.GF91329@obiwan.tataz.chchile.org> From: =?gb2312?B?1cUgt+c=?= To: jeremie@le-hen.org Date: Wed, 20 Apr 2005 16:29:11 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 20 Apr 2005 16:29:12.0083 (UTC) FILETIME=[15C26630:01C545C6] X-Mailman-Approved-At: Thu, 21 Apr 2005 11:51:09 +0000 cc: freebsd-hackers@freebsd.org Subject: Re: Configuration differences for jails X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 16:29:12 -0000 >From: Jeremie Le Hen >To: ?? ?? >CC: freebsd-hackers@freebsd.org >Subject: Re: Configuration differences for jails >Date: Wed, 20 Apr 2005 16:37:15 +0200 > > > 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. > Good idea! I will take a try! Regards Jas _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com