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 sh
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 fou