[Lxc-users] LXC support with Directfb

Daniel Lezcano dlezcano at fr.ibm.com
Sat Mar 19 22:00:18 UTC 2011


On 03/18/2011 06:54 PM, Thierry GAYET wrote:
> Hi,
>
> I have modified the lxc-start tool in order to use a coherent IPC both with
> the container and the native linux that control the lxc container.
>
> In this way, i can have some graphic on my display.
>
> Is it what you called 'hacking lxc' in your previous email ?

Right.

> If so how can be sure that my containainer will be enough safe ?

If you reduce the isolation, the container is less secure because these 
resources are shared with the host, that means the container may harm 
the host.

> According to you what could be the drawback to this use case ?

That breaks the container paradigm. Also, the application will not be 
checkpointable. I think the right solution would to be to change X to 
use the posix ipc instead of SYSV ipc, so only the files could be shared 
across containers.


> Thanks in avance of your reply.
>
> Regards
>
> Thierry
>
> 2011/3/8 Thierry GAYET<thierry.gayet at gmail.com>
>
>> Hi,
>>
>> I have a directfb application located inside a LinuX Container and i wanna
>> know how the directfb from this container is working.
>>
>> Indeed, the framebuffer is well initilized by the native rootfs that manage
>> the containers.
>>
>> Then, i am starting my application by this way : lxc-execute –n brower
>> /usr/bin/df_dok
>>
>> My simple configuration is the following (/var/lib/lxc/browser/lxc.conf):
>>
>>
>> lxc.utsname = browser
>> lxc.tty     = 4
>> lxc.pts     = 1024
>> lxc.rootfs  = /containers/rfs01/
>>
>> In any case, does somebody have ever started a graphical application with
>> sucess ?
>> Any comments are welcome ?
>>
>> --
>> A+
>> Thierry
>>
>>
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
>
>
>
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users


-- 






















































Sauf indication contraire ci-dessus:
Compagnie IBM France
Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 92400
Courbevoie
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 542.737.118 ?
SIREN/SIRET : 552 118 465 02430




More information about the lxc-users mailing list