From owner-freebsd-questions Tue Dec 10 0:30:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65AD937B401 for ; Tue, 10 Dec 2002 00:30:18 -0800 (PST) Received: from smtp.hispeed.ch (isp247n.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69B343EA9 for ; Tue, 10 Dec 2002 00:30:15 -0800 (PST) (envelope-from locus@hispeed.ch) Received: from rock.stable.ch (dclient217-162-34-199.hispeed.ch [217.162.34.199]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id gBA8UBKu032001 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 10 Dec 2002 09:30:12 +0100 Received: from locus by rock.stable.ch with local (Exim 3.33 #1) id 18LfmM-000OoZ-00 for freebsd-questions@FreeBSD.ORG; Tue, 10 Dec 2002 09:30:10 +0100 Date: Tue, 10 Dec 2002 09:30:10 +0100 From: "'Thomas Spreng'" To: freebsd-questions@freebsd.org Subject: Re: Installing additional ports in a jail! Message-ID: <20021210083010.GA95261@rock.stable.ch> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20021209085617.GA64454@rock.stable.ch> <000001c29f61$fcf58c70$952b6e94@lucifer> <20021209092542.GA76303@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021209092542.GA76303@ei.bzerk.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 09, 2002 at 10:25:42AM +0100, Ruben de Groot wrote: > On Mon, Dec 09, 2002 at 10:04:32AM +0100, Didier Wiroth typed: > > Thanks for the reply! > > > > >where have you read that it's not recommended to do so? I'm installing > > >ports from inside the jail all the time and have not encountered any > > >problems so far. > > > > I have read this from the "Absolute BSD - The ultimate guide to > > FreeBSD", the author recommends not to build from the ports as it could > > take up a lot of CPU times. > > > > Actually I would like to recompile and install the apache2 daemon! I > > thought that this would be a real big task as the machine also hosts a > > primary dns. > > > > Are there other people installing their jail software from the ports > > collection, and compiling it from inside the jail? > > I usually follow this procedure (on the host system, not inside the jail): > > cd /usr/ports/ > make > mount_null /usr/ports /jails/jailX/usr/ports > chroot /jails/jailX > cd /usr/ports/ > make install > exit > mount_null /usr/ports /jails/jailY/usr/ports > chroot /jails/jailY > ... etcetera have you read the BUGS section in the mount_null manual? they dont recomment using it, because it's not really finished yet. > So I only have to compile once. > > cheers, > Ruben cheers, tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message