From owner-freebsd-questions Mon Dec 9 1:24:31 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 2025F37B401 for ; Mon, 9 Dec 2002 01:24:30 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D41843E4A for ; Mon, 9 Dec 2002 01:24:25 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id gB99PgmW076387; Mon, 9 Dec 2002 10:25:42 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id gB99Pg8A076386; Mon, 9 Dec 2002 10:25:42 +0100 (CET) Date: Mon, 9 Dec 2002 10:25:42 +0100 From: Ruben de Groot To: Didier Wiroth Cc: "'Thomas Spreng'" , freebsd-questions@FreeBSD.ORG Subject: Re: Installing additional ports in a jail! Message-ID: <20021209092542.GA76303@ei.bzerk.org> References: <20021209085617.GA64454@rock.stable.ch> <000001c29f61$fcf58c70$952b6e94@lucifer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c29f61$fcf58c70$952b6e94@lucifer> 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: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 So I only have to compile once. cheers, Ruben > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message