Jails
Leonardo M. Ramé
martinrame at yahoo.com
Sun Jan 13 15:45:35 UTC 2013
>________________________________
> From: "Zyumbilev, Peter" <peter at aboutsupport.com>
>To: freebsd-questions at FreeBSD.org
>Cc: Mark Felder <feld at feld.me>; Devin Teske <dteske at freebsd.org>; Devin Teske <devin.teske at fisglobal.com>
>Sent: Sunday, January 13, 2013 7:09 AM
>Subject: Re: Jails
>
>
>On 12/01/2013 18:41, Devin Teske wrote:
>>
>> On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
>>
>>> Hi,
>>>
>>> I have not tested it, but so far things do not look promising...
>>>
>>> I cannot even run "netstat -nvatp" properly, however sopcast seemed to
>>> run, but have not tested it, for plex - have not tried yet.
>>>
>>
>> netstat isn't allowed in traditional jails (but is allowed in "vimage" jails which have their own network stack).
>>
>> If you're able/willing to compile a new kernel to enable the "VIMAGE" feature, then this can be improved so that you can indeed use netstat within the jail.
>>
>> NOTE: netstat is not allowed within traditional (non-VIMAGE) jails due to security restrictions.
>>
>
>My host os is Nas4Free and is stripped version of freebsd - e.g I
>cannot even compile ports - that is why I use jails - so no new kernel
>for me there :)
>
>So far I am quite happy with it - I use it mainly as DLNA
>server(Serviio), ZFS,UPS support & Transmission made it quite good
>platform - would take plenty of time to get all this in plain FreeBSD
>install.
>
>The only thing that I might be missing is Plex, but due to lack "browser
>per folder feature", I will stick to open standard - DLNA.
>
>Peter
Hi, 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 jail, but I get this error when I do ping:
server# /etc/rc.d/jail start debian
Configuring jails:.
Starting jails: debian.
server# jls
JID IP Address Hostname Path
13 192.168.0.250 debian /usr/home/jails/debian
server# jexec 13 bash
root at debian:/# uname -a
Linux debian 2.6.32 FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 i686 GNU/Linux
root at debian:/# ping www.google.com
WARNING:
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.17) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
Apart from getting those ping errors, I cannot "apt-get update":
root at debian:/# apt-get update
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Get:2 http://ftp.debian.org squeeze Release.gpg [1672 B]
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en
99% [Working]FATAL -> Could not set non-blocking flag Bad file descriptor
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
I need apt-get to install g++, to be able to compile a linux c++ app from FreeBsd.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the freebsd-questions
mailing list