Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 12:08:49 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: jail setup
Message-ID:  <20040408110849.GC71019@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <001e01c41d14$53b0bea0$0200a8c0@satellite>
References:  <001e01c41d14$53b0bea0$0200a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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