On 03/06/2011 02:13 PM, Advait Alai wrote:
> Hello,
>
> I have the following problem:
>
> $ lxc-console -n left
> lxc-console: failed to connect to the tty service
>
> The 'left' container is in the RUNNING state when I execute this command.
>
> Also, I the -d option does not seem to work when I want to run the container
> in the background. Executing $ lxc-start -n left -d /bin/bash
> and then lxc-info -n left shows that the container continues to be in the
> STOPPED state.
>
> How do I rectify this?

In order to use the console, the getty console should be launched inside 
the container with the proper configuration, a rootfs and a lxc.tty=<nrttys>

It is inadequate to spawn an interactive shell within container in 
daemon mode where fd 0, fd 1 and fd 2 are closed.


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to