From owner-freebsd-questions Mon Dec 9 1:28: 3 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 4FB0837B401 for ; Mon, 9 Dec 2002 01:28:01 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EA143E4A for ; Mon, 9 Dec 2002 01:27:59 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gB99Ro46014529 for ; Mon, 9 Dec 2002 09:27:50 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gB99Rj02014528 for freebsd-questions@FreeBSD.ORG; Mon, 9 Dec 2002 09:27:45 GMT Date: Mon, 9 Dec 2002 09:27:45 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Installing additional ports in a jail! Message-ID: <20021209092745.GA14264@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.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.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 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 wrote: > 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. CPU time is only a problem if you're short of it. It's quite right to say it's a waste of CPU time to build exactly the same package twice --- once in the host environment and once in the jail, when you would be better off building a package in the host environment, and installing from the package in the jail. On the other hand, it can be a lot easier and more efficient in terms of administrator time to just run portupgrade from within the jail. Exactly the same argument would apply if you had several machines all running the same version of FreeBSD. Whether you build packages or install from ports each time is entirely a matter of what suits you the best. > 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. That depends on how powerful your machine is and how much traffic your DNS server is seeing. It's a judgement call whether you can do it without disrupting the service the machine is intended to provide. > Are there other people installing their jail software from the ports > collection, and compiling it from inside the jail? Yes. I never saw any reason not to. If anyone knows different, I'd like to hear their rationale. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message