<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
 bgcolor="#FFFFFF" text="#000000">
  <div class="moz-text-plain" wrap="false" graphical-quote="true" 
style="font-family: -moz-fixed"><pre wrap="">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">
    </target></console>
  </devices>
</clock></domain>

If I try to add any different type of console, I get an error that only
pty consoles are supported.

What am I missing?


-C-

</pre></div>
</body>
</html>