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

Re: [libvirt] [PATCH]lxc: don't start container when no root fs found




> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange redhat com]
> Sent: Friday, September 27, 2013 8:35 PM
> To: Chen Hanxiao
> Cc: libvir-list redhat com
> Subject: Re: [libvirt] [PATCH]lxc: don't start container when no root fs found
> 
> On Fri, Sep 27, 2013 at 08:27:06PM +0800, Chen Hanxiao wrote:
> > From: Chen Hanxiao <chenhanxiao cn fujitsu com>
> >
> > Currently, if we don't explicitly add root fs for container,
> > libvirt will add one for us implicitly with "/" as src.
> > It would be not safe.
> > Unless user asked for it, we should not assume this.
> 
> Nonsense. This is the defined semantics of the configuration. The
> container inherits the root filesystem unless otherwise overriden.
> 

Thanks for clarification. 
I read the lxc driver doc once more and got what your pointed out...

> Daniel
> --
> |: http://berrange.com      -o-
> http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-
> http://virt-manager.org :|
> |: http://autobuild.org       -o-
> http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-
> http://live.gnome.org/gtk-vnc :|




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