From owner-freebsd-questions@FreeBSD.ORG Fri Feb 23 01:49:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D43016A402 for ; Fri, 23 Feb 2007 01:49:27 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id AF06113C478 for ; Fri, 23 Feb 2007 01:49:26 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so496930nfc for ; Thu, 22 Feb 2007 17:49:25 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PADfFEjnFLAcD+9Pvhw0eIjLDvYJcBey6J9eo3uO6/FPmy1I1t41bF63Lp/ggDSnA6SXIH72KDydTu9AoNA0xyR2zDltwQEe95yK78rioobyyOE7V2WHg5c44oIQUUYwa/ccnbor+qHMwoHsBXW07J6CwElwAfnRlaPnW0JqHpk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l0tckXucqTBIv1fOcUmd8lzRCi1GtqxE+s7HtpRk6pHqqOVhlamRsmSsdsjyvLVARNNCexFZv/Ft3Qna7Z2R8G5WiHVWzQSNmreuEI8tBKUkBv7pPz7l/fm3+I3ATlVvzCvObnBp0rPNevTrCYgHadqlepvBo/XxzOpE8V8xALs= Received: by 10.82.136.4 with SMTP id j4mr320739bud.1172195365396; Thu, 22 Feb 2007 17:49:25 -0800 (PST) Received: by 10.82.191.16 with HTTP; Thu, 22 Feb 2007 17:49:25 -0800 (PST) Message-ID: <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com> Date: Fri, 23 Feb 2007 01:49:25 +0000 From: "Jim Stapleton" To: "Jonathan Chen" In-Reply-To: <20070223014121.GA2803@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20702221722q1de96eaaq426b061ae47f20fb@mail.gmail.com> <20070223014121.GA2803@osiris.chen.org.nz> Cc: freebsd-questions@freebsd.org Subject: Re: problems with jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 01:49:27 -0000 oops, did a reply instead of reply all, sorry. My question was "what's the best way to test net connectivity in jail, csup?", and i did try csup (using a copy of my standard ports supfile), it failed: %csup -g -L 2 /etc/supfile-ports Parsing supfile "/etc/supfile-ports" Connecting to cvsup12.FreeBSD.org Name lookup failure for "cvsup12.FreeBSD.org": hostname nor servname provided, or not known Will retry at 20:52:12 I'm only using one jail (it'll run apache, mysql and possibly sftp) Thanks, -Jim Stapleton On 2/23/07, Jonathan Chen wrote: > On Fri, Feb 23, 2007 at 01:22:53AM +0000, Jim Stapleton wrote: > > I'd like to get Apache running in jail, but I can't seem to get > > network working in jail. > > > > [...] > > Anyway, when I go to jail, running csh (as root) in jail, I try/get: > > %ping 192.168.1.1 > > ping: socket: Operation not permitted > > This is normal. You can't ping out from a jail. If you're going to > manage several jails on a box, I would suggest you try the ezjail > port. > > Cheers. > -- > Jonathan Chen > ----------------------------------------------------------------------- > "I love deadlines. I like the whooshing sound they make as they fly by" > - Douglas Adams >