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

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

 




> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx]
> Sent: Friday, September 27, 2013 8:35 PM
> To: Chen Hanxiao
> Cc: libvir-list@xxxxxxxxxx
> Subject: Re:  [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@xxxxxxxxxxxxxx>
> >
> > 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 :|



--
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]