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 should succeed. If it does not, please re-open this bug. Note there is a currently known bug in that lxc-execute of a shell will freeze your terminal. (Note also that you can start the container in daemon mode and use lxc-attach or lxc-console to connect to the runnign container, which tends to be better tested so far.) status: invalid ** Changed in: lxc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1171464 Title: lxc-execute fails with error "Failed to find an lxc-init" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1171464/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs