<div dir="ltr">Hi All,<div><br><div>       I am running LXC in embedded machine which uses busybox and it make use of ttyHSL (Qualcomm UART with baud rate 115200) for serial console.</div><div>I find all other tty[0-7] of the embedded machine were set to baud rate of 38400;</div><div><br></div><div>       I am trying to run LXC busybox inside this embedded machine and I set inittab file of Container C1 as show below</div><div><br></div><div><pre style="color:rgb(0,0,0);font-size:16px;margin-top:0px;margin-bottom:14pt;padding:5px;border-width:0px;background-color:rgb(238,238,238)"><font face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" size="1" color="#222222"><span style="font-size:13px"><font face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" size="-1"># cat C1/rootfs/etc/inittab
   ....
   ....
   ::respawn:/bin/ash</font></span></font></pre></div><div>       Problem:  Running busybox commands in launched container terminal is not working as they were misbehaving </div><div><br></div><div><pre style="color:rgb(0,0,0);font-size:16px;margin-top:0px;margin-bottom:14pt;padding:5px;border-width:0px;background-color:rgb(238,238,238)"><font face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" size="1" color="#222222"><span style="font-size:13px"><font face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" size="-1">  # ls
  # /bin/ash 's' command not found
  # 
  # pwd
  # /bin/ash 'd' command not found
  #
  #
  # cd
  # /bin/ash 'cpw' command not found</font></span></font></pre></div><div>   I find LXC make use of tty1 terminal under C1/rootfs/dev/lxc/tty1</div><div><br></div><div>The 'lxc' is added in the above path because I configured config file as below for container C1</div><div><br></div><div><pre style="color:rgb(0,0,0);font-size:16px;margin-top:0px;margin-bottom:14pt;padding:5px;border-width:0px;background-color:rgb(238,238,238)"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;white-space:normal"><div>.....</div><div>lxc.tty = 1 </div><div>lxc.pts = 1</div><div>lxc.devttydir = lxc</div><div>.......</div></div></pre></div><div>I configure to make use of devttydir because the embedded box host is set to read-only for '/' file-system;</div><div><br></div><div>What could be reason of this issue? Is this issue specific to LXC termnial? or minicon setting specific to LXC? (I was able to see lxc busybox boot without any issue)</div><div><br></div><div>Please let me know, If you need any further information on this. Thanks</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With regards,<br>Viswesn</div></div>
</div></div></div>