[libvirt-users] OpenStack+libvirt+lxc: lxcContainerGetSubtree:1199 : Failed to read /proc/mounts

Daniel P. Berrange berrange at redhat.com
Thu Nov 8 13:33:07 UTC 2012


On Thu, Nov 08, 2012 at 09:11:51PM +0800, unicell wrote:
> Hi,
> 
> I'm running OpenStack on CentOS 6.3 to manage lxc instances. And running
> into series of problem relating libvirt and lxc interaction.
> 
> For example, libvirt_lxc segfault (
> https://bugzilla.redhat.com/show_bug.cgi?id=874549) which has an upstream
> fix. And another bugs such as fail to start when SELinux disabled.
> 
> Finally, I decides to adopt libvirt 0.10.2, self compiled
> from libvirt-0.10.2-1.fc17.src.rpm. And now coming across following message
> when starting lxc container.
> 
> lxcContainerGetSubtree:1199 : Failed to read /proc/mounts: No such file or
> directory

Try using libvirt 1.0.0, the version you built has a bug in its LXC
support causing the error you see.

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 libvirt-users mailing list