X.org in a jail, testers wanted

Alexander Leidinger Alexander at Leidinger.net
Wed Mar 12 06:49:15 UTC 2008


Quoting Jeremie Le Hen <jeremie at le-hen.org> (from Tue, 11 Mar 2008  
22:02:16 +0100):

> Hi Alexander,
>
> On Mon, Mar 10, 2008 at 12:28:29PM +0100, Alexander Leidinger wrote:
>>  at http://www.Leidinger.net/FreeBSD/current-patches/jail.diff I have some
>>  changes which should apply to RELENG_7(_0) and HEAD which allow access to
>>  /dev/io (if configured appropriately, see the included man-page change).
>>  This is needed to run a X server in a jail. You may also need to load
>>  manually (or via the loader) the kernel module which is normally loaded by
>   the X server (in my case (a Radeon card) this means to have
>>  radeon_load="YES" in loader.conf). AFAIR the X server works without this,
>>  but probably without some acceleration. I haven't tested any 3D stuff.
>
> Thank you very much for providing your work in this area.  I would
> really like to test your patch, but I currently have very little spare
> time left by my job.  So I will only cheer you up :).

Thanks. :)

>>  You also need to setup /etc/devfs.rules (this is a copy of my one, it
>>  contains more than is needed to run the X server, so you can trim this if
>>  you want):
>>  ---snip---
>> [...]
>>  ---snip---
>>
>>  You also need to make sure those rules are applied to your jail
>>  (jail_<jailname>_devfs_ruleset="devfsrules_jail_desktop").
>
> Do you plan to document this else where, maybe in the jail chapter of
> the handbook?  Otherwise I will merely bookmark your mail.

What you need or not depends upon your usage scenario. I don't think  
this belongs into the man page. If I document this in the handbook or  
not, I haven't thought about (somehow I think I will not have the time  
to do it). If someone takes my mail (after the code is committed),  
adds some sentences and wants to commit this into the handbook, I  
happily review the text.

Bye,
Alexander.

-- 
Dr. Jekyll had something to Hyde.

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


More information about the freebsd-jail mailing list