Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2011 14:13:28 -0700
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        Monthadar Al Jaberi <monthadar@gmail.com>
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: [jail][vnet] wlandebug inside jail, operation not permitted
Message-ID:  <4D5C3DF8.9080009@FreeBSD.org>
In-Reply-To: <AANLkTim5Rg3D3Zwo42VEkcNcjJcDQNz54jOBF%2Bv%2BKivN@mail.gmail.com>
References:  <AANLkTim5Rg3D3Zwo42VEkcNcjJcDQNz54jOBF%2Bv%2BKivN@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is by design. The "root" in a jail isn't quite a full-featured
root, and in particular can't do anything that affects the hardware in
ways beyond normal non-administrative use.

- Jamie

On 02/16/11 09:34, Monthadar Al Jaberi wrote:
> Hej,
>
> I have created a jail with "jail -c jid=1 vnet persist", then moved a
> wlan to it "ifconfig wlan0 vnet 1" but when I try to run:
> "jexec 1 wlandebug -i wlan0 state" I get :
>
> wlandebug: sysctl-set(net.wlan.0.debug): Operation not permitted
> net.wlan.0.debug: 0x22000 =>
>
> I can run wlandebug before moving wlan to a jail, but why cant I do it
> inside the jail? I am running everything as root.
>
>
> thank you in advance,
>



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