From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 04:08:55 2004 Return-Path: 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 CDC5E16A4CE for ; Thu, 8 Apr 2004 04:08:55 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9443243D4C for ; Thu, 8 Apr 2004 04:08:54 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i38B8nmX095348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Apr 2004 12:08:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i38B8nQd095347; Thu, 8 Apr 2004 12:08:49 +0100 (BST) (envelope-from matthew) Date: Thu, 8 Apr 2004 12:08:49 +0100 From: Matthew Seaman To: dave Message-ID: <20040408110849.GC71019@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , dave , freebsd-questions@freebsd.org References: <001e01c41d14$53b0bea0$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nmemrqcdn5VTmUEE" Content-Disposition: inline In-Reply-To: <001e01c41d14$53b0bea0$0200a8c0@satellite> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: jail setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 11:08:55 -0000 --nmemrqcdn5VTmUEE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 07, 2004 at 10:51:00PM -0400, dave wrote: > Hello, > I'm setting up a jail under 5.2.1 to run pure-ftpd in. I did the > following: > cvsupped the source > cd /usr/src > make world DESTDIR=3D/usr/jail/ftp > cd etc > make distribution DESTDIR=3D/usr/jail/ftp > then linked /dev/null to kernel inside the jail area. > I'm following an onlamp article at: > and understood that sendmail and perl and some other items would be > available. When i do a pkg_info from within the jail there aren't any > packages. did i miss a step? Is there something i should have installed to > make this go easier? That's exactly what I'd expect to see. When you run pkg_info(1) within the jail, it looks for the contents of /var/db/pkg *within the jail* You can't see the package data for packages you install from the base system when you're in the jail. You'ld have to install the packages from inside the jail for that to show up. Be aware that On-Lamp article was written in reference to FreeBSD 4.x -- some things are a bit different with FreeBSD 5.x. You should have sendmail in the base system unless you've disable building it by putting 'NO_SENDMAIL=3Dyes' into /etc/make.conf. You won't have perl as part of the base in 5.x -- you will definitely have to install from ports/packages to get that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --nmemrqcdn5VTmUEE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdTLAdtESqEQa7a0RAt61AJ9vaQLHP3myg4TQediJkhHL0aUvCwCfWIjY 9L0+YOJ1tvWEPuamz5xPJs4= =Iq59 -----END PGP SIGNATURE----- --nmemrqcdn5VTmUEE--