[libvirt-users] Libvirt-LXC bug/error

Samuel Hassine, Another Service samuel.hassine at anotherservice.com
Tue Jan 17 11:21:22 UTC 2012


Hi,

I tried to create a fresh container with a minimal configuration :

Here is the configuration: http://paste.debian.net/152553/

I built a minimal rootfs with busybox as descriped in:
http://berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/

And I also have the same problem:

root at PAR-SRV-01-002:/etc# virsh --connect lxc:/// start simple
error: Failed to start domain simple
error: internal error guest failed to start: 2012-01-17
11:20:35.212+0000: 13808: info : libvirt version: 0.9.8
2012-01-17 11:20:35.212+0000: 13808: warning : lxcCapsInit:77 : Failed
to get host power management capabilities
PATH=/bin:/sbin TERM=linux
LIBVIRT_LXC_UUID=3d477435-fd58-11a4-2d4e-49092034871e
LIBVIRT_LXC_NAME=simple /init
2012-01-17 11:20:35.229+0000: 1: info : libvirt version: 0.9.8
2012-01-17 11:20:35.229+0000: 1: error : lxcContainerMountDevFS:518 :
Failed to mount /dev/pts in container: No such file or directory
2012-01-17 11:20:35.229+0000: 13809: info : libvirt version: 0.9.8
2012-01-17 11:20:35.229+0000: 13809: error : lxcControllerRun:1445 :
error receiving signal from container: Input/output error

After many reseach, I finally open a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=782038

Tell me if you need more informations.

Best regards.
Sam


Le 16/01/2012 12:05, Samuel Hassine, Another Service a écrit :
> Hi all,
>
> I am trying to run LXC containers with the libvirt utils. I encountered
> many difficulties but solved all of them, except a last one... This is
> why I need your help.
>
> My problem is simple, here is the log of the command:
> http://pastebin.com/2zrjYLiT
>
> When I try to do: virsh --connect lxc:/// start instance-00000010
>
> I have the errors: 2012-01-16 10:46:47.739+0000: 1: error :
> lxcContainerMountDevFS:518 : Failed to mount /dev/pts in container: No
> such file or directory
>
> And others (see the trace on pastebin).
>
> Does anybody have an idea about how to deal with this problem?
>
> Thanks for your answers.
>
> Best regards.
> Sam
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list