Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 01:49:25 +0000
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        "Jonathan Chen" <jonc@chen.org.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problems with jail
Message-ID:  <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com>
In-Reply-To: <20070223014121.GA2803@osiris.chen.org.nz>
References:  <80f4f2b20702221722q1de96eaaq426b061ae47f20fb@mail.gmail.com> <20070223014121.GA2803@osiris.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz> 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 <jonc@chen.org.nz>
> -----------------------------------------------------------------------
> "I love deadlines. I like the whooshing sound they make as they fly by"
>                                                         - Douglas Adams
>



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