Re: [RFC] 4 of 4 Linux Container support - start container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 21, 2008 at 05:37:50PM +0000, Daniel P. Berrange wrote:
> On Fri, Mar 21, 2008 at 01:33:55PM -0400, Daniel Veillard wrote:
> > On Fri, Mar 21, 2008 at 10:30:36AM -0700, Dan Smith wrote:
> > > DB> The patch I posted to make it use the state driver means all LXC
> > > DB> driver calls go via the daemon. So nothing happens directly as a
> > > DB> child of the calling application - its all in the context of the
> > > DB> daemon.
> > > 
> > > Yeah, just saw that.  Even better :)
> > > 
> > > It seems to me that always being in the daemon would allow the console
> > > forwarding to happen there instead of being duplicated in every
> > > container.  I don't really like the idea of having a forwarding
> > > process in every container as the parent of the container init.
> > 
> >   The only problem is that if we restart the daemon we loose all state,
> > and can't control the domain anymore I'm afraid, right ?
> 
> Yes, but we have that problem already with the QEMU and network drivers
> and there are ways to deal with that which we can implement ina generic
> manner which works across all drivers.

Among the TODOs for Fedora (but not urgent) are adding /etc/libvirt/lxc
to the spec file and request access for libvirtd at the SELinux level,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]