Date: Sun, 13 Jan 2013 07:45:28 -0800 (PST) From: =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= <martinrame@yahoo.com> To: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org> Subject: Re: Jails Message-ID: <1358091928.24135.YahooMailNeo@web126204.mail.ne1.yahoo.com> In-Reply-To: <50F287BD.7030708@aboutsupport.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
>________________________________=0A=0A> From: "Zyumbilev, Peter" <peter@ab= outsupport.com>=0A>To: freebsd-questions@FreeBSD.org =0A>Cc: Mark Felder <f= eld@feld.me>; Devin Teske <dteske@freebsd.org>; Devin Teske <devin.teske@fi= sglobal.com> =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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358091928.24135.YahooMailNeo>