Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 23:06:30 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        Nathan Butcher <n-butcher@fusiongol.com>
Cc:        Adam Vande More <amvandemore@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Raw sockets in jails
Message-ID:  <ade45ae91001252206i4d6474ffh67a9d66fda1f0d74@mail.gmail.com>
In-Reply-To: <4B5E59DE.8050901@fusiongol.com>
References:  <20100124223626.37E5210656BD@hub.freebsd.org> <4B5D0639.4040503@fusiongol.com> <6201873e1001250729s36073a22t1c6f95bd2af7c2d4@mail.gmail.com> <4B5E59DE.8050901@fusiongol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/25/10, Nathan Butcher <n-butcher@fusiongol.com> wrote:
> Thanks for the link. That clears a few things up, but not quite what I'm
> trying to achieve.I set the following in rc.conf for a jail called "test"
>
> jail_test_flags="allow.raw_sockets"
>
> then I start the test jail with
>
> # /etc/rc.d/jail start test
>
> ... and then I get the following cryptic response...
>
> Configuring jails:.
> Starting jails: cannot start jail "test":
> But it doesn't look like one.
> .
>
> ... and the jail doesn't start.
> What's the story there?


allowing raw sockets to a jail is a sysctl


sysctl -a | grep "jail."

the raw sockets tunable should easily be found.  make the change
permanent by editing/adding it to /etc/sysctl.conf


--TJ



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