Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Oct 2009 10:45:26 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        hulibyaka hulibyaka <hulibyaka@gmail.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: xorg in jail
Message-ID:  <20091009104526.12875uad5sybsao0@webmail.leidinger.net>
In-Reply-To: <d2f8af270910081101w14b50a35vb74a7df0961539f5@mail.gmail.com>
References:  <d2f8af270910081101w14b50a35vb74a7df0961539f5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting hulibyaka hulibyaka <hulibyaka@gmail.com> (from Thu, 8 Oct  
2009 22:01:23 +0400):

> What the difference for restriction on /dev/io between chroot and
> jail? How  can i get all needed by xinit privileges on /dev/io within
> jail ?

There are additional access restrictions in the kernel when run in a  
jail. You need
   http://www.leidinger.net/FreeBSD/current-patches/jail.diff
and you need to rebuild the kernel and the world.

After that you need to add  
jail_JAILID_startparams="allow.dev_io_access" for your jail startup.

Bye,
Alexander.

-- 
Pie are not square.  Pie are round.  Cornbread are square.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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