[Bug 1171464] [NEW] lxc-execute fails with error Failed to find an lxc-init

2013-04-22 Thread James Hunt
Public bug reported: $ sudo lxc-info -n raring state: STOPPED pid:-1 $ sudo lxc-execute -n raring -- true lxc-execute: Failed to find an lxc-init lxc-execute: invalid sequence number 1. expected 4 lxc-execute: failed to spawn 'raring' $ dpkg -l lxc|grep lxc-init || echo not found not

Re: [Bug 1171464] [NEW] lxc-execute fails with error Failed to find an lxc-init

2013-04-22 Thread Serge Hallyn
Thanks for taking the time to report this bug. However, in order to use lxc-execute, you must install lxc-init in the container, by chrooting into or lxc-starting the container, and doign apt-get install --no-install-recommends lxc After that, lxc-execute with a noninteractive command