From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 16:35:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32DC21065672 for ; Mon, 20 Jun 2011 16:35:15 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg14-2-0-cust883.5-4.cable.virginmedia.com [86.26.3.116]) by mx1.freebsd.org (Postfix) with ESMTP id D71308FC24 for ; Mon, 20 Jun 2011 16:35:14 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QYhRR-000Lv3-TS for freebsd-questions@freebsd.org; Mon, 20 Jun 2011 17:35:13 +0100 Date: Mon, 20 Jun 2011 17:35:13 +0100 From: Daniel Bye To: freebsd-questions Message-ID: <20110620163513.GC14851@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions References: <4DFEAD65.70306@a1poweruser.com> <20110620092347.GA14851@catflap.slightlystrange.org> <4DFF6A21.9070901@a1poweruser.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GyRA7555PLgSTuth" Content-Disposition: inline In-Reply-To: <4DFF6A21.9070901@a1poweruser.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.2-STABLE amd64 Sender: Daniel Bye Subject: Re: /etc/rc.d/jail using new-style jail command? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 16:35:15 -0000 --GyRA7555PLgSTuth Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 20, 2011 at 11:41:21AM -0400, Fbsd8 wrote: > Daniel Bye wrote: > >On Sun, Jun 19, 2011 at 10:16:05PM -0400, Fbsd8 wrote:=20 > >>Give the qjail port a try. It has the ability to reference jails by nam= e=20 > >>and create jails without starting them. Though it does not use the=20 > >>new-style jail command. > > > > > >zsh/2 1002 # make install > >=3D=3D=3D> Installing for qjail-1.0 > >=3D=3D=3D> Generating temporary packing list > >=3D=3D=3D> Checking if sysutils/qjail already installed > >install: > >/data/portbuild/usr/ports/sysutils/qjail/work/qjail-1.0/qjail-jail2: No= =20 > >such > >/ file or directory > >*** Error code 71 > > > >Stop in /usr/ports/sysutils/qjail. > > > > > >Any progress on getting the port fixed? I really like qjail, and find it > >pretty intuitive, but the port hasn't worked properly since it was added= to > >the collection. > > > >Dan > > >=20 >=20 > Dan, > qjail installs fine for me. You have something mis-configured > on your system. > /data/portbuild/ is invalid path which is not part of an normal install. My system is set up just fine, thanks. My ports tree is located on a single server, and shared via NFS. To avoid hitting the rather slow disks in the host machine, each client sets WRKDIRPREFIX so that ports build locally.=20 This is fully supported by the ports system, and should not cause a well-behaved port to break.[1] And indeed, this configuration has been working flawlessly now for well over 6 years, and it is not the source of the problem now. This is what happens when I try to install qjail on the host where the ports tree lives: zsh/3 1001 # make install =3D=3D=3D> Installing for qjail-1.0 =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if sysutils/qjail already installed install: /usr/ports/sysutils/qjail/work/qjail-1.0/qjail-jail2: No such file or directory *** Error code 71 Stop in /usr/ports/sysutils/qjail. zsh/3 1007 # ls /usr/ports/sysutils/qjail/work/qjail-1.0/qjail-jail2 ls: /usr/ports/sysutils/qjail/work/qjail-1.0/qjail-jail2: No such file or directory The file isn't there. Bah! Scratch that. Just ran make distclean && make install and it works. My apologies, Joe, I should have tried that much sooner... I can only assume it happened because I installed the port by hand shortly after you announced its release a few months ago, before it was formally accepted as part of the tree. I guess I forgot to clean up after that manual test install and grab the latest version from the ports. To the originator of this thread - do give qjail a try - it's very good. ~runs away and hides Dan 1 http://www.freebsd.org/doc/en/books/porters-handbook/porting-wrkdirprefix.h= tml --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --GyRA7555PLgSTuth Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3/dsEACgkQixf5fBYiFmrWcQCfQcqqsbNAfIntkyO+L7KacHY4 5Z8An0/kOITRr/zYn0KzH396NJKumZsk =cSYH -----END PGP SIGNATURE----- --GyRA7555PLgSTuth--