Re: lxc errors on 0.9.7

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

 



On Wed, Dec 07, 2011 at 02:53:41PM -0800, Chris Haumesser wrote:
> I'm testing 0.9.7 now with lxc, and get the following error when trying
> to start a container:
> 
> 2011-12-07 22:49:26.293: 1997: error : lxcControllerRun:1158 :
> unsupported configuration: Expected exactly one TTY fd
> 
> My configuration is very simply:
> 
> <domain type='lxc'>
>   <name>hw</name>
>   <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>
>   <memory>102400</memory>
>   <currentMemory>102400</currentMemory>
>   <vcpu>1</vcpu>
>   <os>
>     <type arch='x86_64'>exe</type>
>     <init>/bin/bash</init>
>   </os>
>   <clock offset='utc'/>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>destroy</on_crash>
>   <devices>
>     <emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
>     <console type='pty'>
>       <target type='lxc' port='0'/>
>     </console>
>   </devices>
> </domain>
> 
> If I try to add any different type of console, I get an error that only
> pty consoles are supported.

Nothing, only type='pty' is supported for consoles in LXC. The other
console types like tcp, udp, fifo, etc are only supported by QEMU

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


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux