From owner-freebsd-questions@FreeBSD.ORG Sun Jan 13 15:45:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DB8CADFD for ; Sun, 13 Jan 2013 15:45:35 +0000 (UTC) (envelope-from martinrame@yahoo.com) Received: from nm32-vm5.bullet.mail.ne1.yahoo.com (nm32-vm5.bullet.mail.ne1.yahoo.com [98.138.229.53]) by mx1.freebsd.org (Postfix) with ESMTP id 82412A98 for ; Sun, 13 Jan 2013 15:45:35 +0000 (UTC) Received: from [98.138.226.179] by nm32.bullet.mail.ne1.yahoo.com with NNFMP; 13 Jan 2013 15:45:28 -0000 Received: from [98.138.89.192] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 13 Jan 2013 15:45:28 -0000 Received: from [127.0.0.1] by omp1050.mail.ne1.yahoo.com with NNFMP; 13 Jan 2013 15:45:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 875159.34708.bm@omp1050.mail.ne1.yahoo.com Received: (qmail 26809 invoked by uid 60001); 13 Jan 2013 15:45:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1358091928; bh=peaMoIFYxfIe8XBOJVQbt8rOb4kJaTpu4VoVReFqHls=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=o5zzrlHDji1unXQRkxvwpvfAwz7esgMwgYGbAHN/s5806DrAX5Fp+GNH0MIv9si3mxASEYffNmSRW4dyO1l/Wlh9o00PHCUiACT1kr0ryjbfqVwombadga2ZdllPnp1btlDhF4vhL+IcFhpSjP9Dl1kyQ2pYKZ6U3eJMmQj1D6M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LtMJobfgtOC0tkTiGg1sAcHjUhHx5ZSLdO9HwBr3zHXFCyKUn0kwrqd3jGHoGudEHm8++ROsAbym0InYSR68gnpqiBU4szDvIavlpylxs9PZgEOlH+HalyTHc12LRPoyuButC2Flb8TnmeVCsRCz2RYHatV3nDX0+palVbxXAq8=; X-YMail-OSG: 13cfWfsVM1kvmSFTtnk2DgMCff1jXqdfozf8EMC3hMLKxmY Z1UmCohf.EuuBTE_PMeFXK7X8Q0NWPIsztofWb_LLa1L.N_Kb025yP8RkJ2G QAgnB5KkdxNCWNkqkNViRFcERVFeUO4b7O89i7oMCQPh.m87zDCKuMnhFQwI ExGnBEVPgnYql6B73PhcO92ETI1g3fFO4coq4En5qGSIbDPpbSsfsnDcE9JT M.9SCMPpZJx5HNzbef2fVUctBWq7uqMWoCf8laA8hnfDvHVWqgxpOGHJbWdS nOuDTr6Bg4vW1qQNbb.QH97nJh.6b6fIzvUdGApap98doCuyvhXUJyrp7YLv N6Y9rLZhFs325evBx117IPW8J5pkHHxjHXqn.CFJPQmbQc8fX45ujygVlfhf U3FCys3aRsC8se0Ndk0.XAWBNVrrrJ0XyB2q3t8THvqN5cgZeqoijj4t22LT PDZrOfxjtFy3KOB8BI3Unce8a.i1Z4Ghj7jJR1tnZ1Go6wIteP2RFad5RihR 9_7JYerftEZTQxqmb1bqaVFj_Bvh3vUEshEjdvMD3Eb0NkAXSEKn8pYRjhRZ qUw2rX3VKVA8iR1wlukJc1lLwZCw1w5MstTqgguM6Fv67H0sECHJEIsekuWk LvkXvichHPHsiAf2yEwg6xWN81.97BAVdvOgK3HFK14u.tivpiImxWhjsiFz gH0nzzdPZ37qIWDwkH6Oo.MQtpz5RLqu4ubJVhfrXvB0v.HVIX.XBuA-- Received: from [190.17.8.72] by web126204.mail.ne1.yahoo.com via HTTP; Sun, 13 Jan 2013 07:45:28 PST X-Rocket-MIMEInfo: 001.001, Pl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCgo.IEZyb206ICJaeXVtYmlsZXYsIFBldGVyIiA8cGV0ZXJAYWJvdXRzdXBwb3J0LmNvbT4KPlRvOiBmcmVlYnNkLXF1ZXN0aW9uc0BGcmVlQlNELm9yZyAKPkNjOiBNYXJrIEZlbGRlciA8ZmVsZEBmZWxkLm1lPjsgRGV2aW4gVGVza2UgPGR0ZXNrZUBmcmVlYnNkLm9yZz47IERldmluIFRlc2tlIDxkZXZpbi50ZXNrZUBmaXNnbG9iYWwuY29tPiAKPlNlbnQ6IFN1bmRheSwgSmFudWFyeSAxMywgMjAxMyA3OjA5IEFNCj5TdWJqZWN0OiBSZTogSmFpbHMBMAEBAQE- X-Mailer: YahooMailWebService/0.8.130.494 References: <50F0297B.3020604@aboutsupport.com> <20130111163129.47e44ce4@mr129166> <50F03DB9.4020209@aboutsupport.com> <20130111131913.049ad0b0@tech304.office.supranet.net> <50F1113C.3090703@aboutsupport.com> <27B0EF0C-CC6D-46E4-960A-ABCAA157D2CD@fisglobal.com> <50F287BD.7030708@aboutsupport.com> Message-ID: <1358091928.24135.YahooMailNeo@web126204.mail.ne1.yahoo.com> Date: Sun, 13 Jan 2013 07:45:28 -0800 (PST) From: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= Subject: Re: Jails To: "freebsd-questions@FreeBSD.org" In-Reply-To: <50F287BD.7030708@aboutsupport.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2013 15:45:35 -0000 >________________________________=0A=0A> From: "Zyumbilev, Peter" =0A>To: freebsd-questions@FreeBSD.org =0A>Cc: Mark Felder ; Devin Teske ; Devin Teske =0A>Sent: Sunday, January 13, 2013 7:09 AM=0A>Subject: Re: Jai= ls=0A> =0A>=0A>On 12/01/2013 18:41, Devin Teske wrote:=0A>> =0A>> On Jan 11= , 2013, at 11:31 PM, Zyumbilev, Peter wrote:=0A>> =0A>>> Hi,=0A>>>=0A>>> I = have not tested it, but so far things do not look promising...=0A>>>=0A>>> = I cannot even run "netstat -nvatp" properly, however sopcast seemed to=0A>>= > run, but have not tested it, for plex - have not tried yet.=0A>>>=0A>> = =0A>> netstat isn't allowed in traditional jails (but is allowed in "vimage= " jails which have their own network stack).=0A>> =0A>> If you're able/will= ing to compile a new kernel to enable the "VIMAGE" feature, then this can b= e improved so that you can indeed use netstat within the jail.=0A>> =0A>> N= OTE: netstat is not allowed within traditional (non-VIMAGE) jails due to se= curity restrictions.=0A>> =0A>=0A>My=A0 host os is Nas4Free and is stripped= version of freebsd - e.g I=0A>cannot even compile ports - that is why I us= e jails - so no new kernel=0A>for me there :)=0A>=0A>So far I am quite happ= y with it=A0 - I use it mainly as DLNA=0A>server(Serviio), ZFS,UPS support = & Transmission made it quite good=0A>platform - would take plenty of time t= o get all this in plain FreeBSD=0A>install.=0A>=0A>The only thing that I mi= ght be missing is Plex, but due to lack "browser=0A>per folder feature", I = will stick to open standard - DLNA.=0A>=0A>Peter=0A=0A=0AHi, I've installed= debian 6 in a jail, from FreeBsd 9.1 x86-64 by following the instructions = from this thread. However, I also updated my /etc/resolv.conf inside the ja= il, but I get this error when I do ping:=0A=0A=0Aserver# /etc/rc.d/jail sta= rt debian=0AConfiguring jails:.=0AStarting jails: debian.=0A=0A=0Aserver# j= ls=0A=A0=A0 JID=A0 IP Address=A0=A0=A0=A0=A0 Hostname=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Path=0A=A0=A0=A0 13=A0 192.168.0= .250=A0=A0 debian=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 /usr/home/jails/debian=0A=0A=0Aserver# jexec 13 bash=0Aroot@de= bian:/# uname -a=0ALinux debian 2.6.32 FreeBSD 9.1-RELEASE #0 r243825: Tue = Dec=A0 4 09:23:10 UTC 2012 i686 GNU/Linux=0A=0A=0Aroot@debian:/# ping www.g= oogle.com=0AWARNING: =0AWARNING: your kernel is veeery old. No problems.=0A= PING www.google.com (173.194.42.17) 56(84) bytes of data.=0Aping: recvmsg: = Invalid argument=0Aping: recvmsg: Invalid argument=0A=0AApart from getting = those ping errors, I cannot "apt-get update":=0A=0Aroot@debian:/# apt-get u= pdate=0AGet:1 http://security.debian.org squeeze/updates Release.gpg [836 B= ]=0AIgn http://security.debian.org/ squeeze/updates/contrib Translation-en= =0AGet:2 http://ftp.debian.org squeeze Release.gpg [1672 B]=0AIgn http://ft= p.debian.org/debian/ squeeze/contrib Translation-en=0A99% [Working]FATAL ->= Could not set non-blocking flag Bad file descriptor=0AE: Method http has d= ied unexpectedly!=0AE: Sub-process http returned an error code (100)=0A=0AI= need apt-get to install g++, to be able to compile a linux c++ app from Fr= eeBsd.=0A=0A-- =0ALeonardo M. Ram=E9=0Ahttp://leonardorame.blogspot.com=0A