Re: 5.3-BETA1, jails and devfs

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Wed, 1 Sep 2004 13:13:21 -0500
On Wed, 1 Sep 2004 19:02:56 +0100, Rob MacGregor
<freebsd.macgregor_at_blueyonder.co.uk> wrote:
> Probably a stupid question, however...
> 
> I've got my first jail running under 5.3-BETA1 and am trying to lock down /dev,
> as per the advice in the jail man page.  All attempts fail however:
> 
> # devfs ruleset 10
> devfs ruleset: ioctl DEVFSIO_SUSE: Operation not permitted
> # devfs rule apply hide
> devfs rule: ioctl DEVFSIO_RAPPLY: Operation not permitted
> 
> I'm pretty sure I've missed something obvious in a man page, but having re-read
> them a few dozen times I'm darned if I can work it out.  Any help appreciated.
> 
How are you applying the devfs rules (on the host, or inside the jail)?

If you are applying them from inside the jail, I don't believe that is
supported.  You need to apply the rules before starting the jail.

Scot
Received on Wed Sep 01 2004 - 16:13:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:10 UTC