[Lxc-users] lxc-execute: Input/output error - failed to read

Daniel Lezcano daniel.lezcano at free.fr
Fri Jan 7 09:06:37 UTC 2011


On 01/07/2011 03:13 AM, Mike Ivanov wrote:
> On 11-01-06 6:02 PM, Mike Ivanov wrote:
>> # lxc-execute -n xxx -f config /bin/bash
>> root at xxx:/# lxc-execute: Input/output error - failed to read
> BTW, exactly the same happens to containers created with the lxc-sshd
> template.

When you created a system container, you should start it with lxc-start.

lxc-execute is used for application container where a process reaper is 
inserted between lxc-execute and your application. This is why your 
application has the pid 2. I think there is a problem with an 
application container using a rootfs and the console and this is 
certainly a bug but in your case I think you should you just use 
'lxc-start'.

  -- Daniel





More information about the lxc-users mailing list