A feature like lxc.execute.auto would be very useful. At the moment i am using systemd service per container for autoboot, such a scenario is difficult to automate. Is lxc.init.cmd= with lxc.auto.start=1 valid workaround?
This brings me to what is the difference between lxc.init.cmd= and lxc.execute.cmd= as daemon?. I’ve noticed lxc-execute, init.lxc.static is pid 1 while with lxc-start the specified command is pid 1. Also is it due to lack /sbin/init for lxc-start that such container needs lxc-stop cntr --kill .