Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 09:30:10 +0100
From:      "'Thomas Spreng'" <spreng@socket.ch>
To:        freebsd-questions@freebsd.org
Subject:   Re: Installing additional ports in a jail!
Message-ID:  <20021210083010.GA95261@rock.stable.ch>
In-Reply-To: <20021209092542.GA76303@ei.bzerk.org>
References:  <20021209085617.GA64454@rock.stable.ch> <000001c29f61$fcf58c70$952b6e94@lucifer> <20021209092542.GA76303@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<someport>
> make
> mount_null /usr/ports /jails/jailX/usr/ports
> chroot /jails/jailX
> cd /usr/ports/<someport>
> 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




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