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

Daniel P. Berrange berrange at redhat.com
Fri Sep 27 12:34:49 UTC 2013


On Fri, Sep 27, 2013 at 08:27:06PM +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at 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.

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




More information about the libvir-list mailing list