lxc init script has a lxc_get_configfile() function that try's to detect the config file name/location, but the detection is actually canceled as the first condition is a non empty CONFIGFILE variable, bu CONFIGFILE is initialized with default value /etc/lxc/${CONTAINER}.conf (i.e. - it is never empty). Reproducible: Always Steps to Reproduce: 1. create container with config file in /etc/lxc/CONTAINER/config 2. create lxc.CONTAINER symlink in /etc/init.d/ 3. run /etc/init.d/lxc.CONTAINER start Actual Results: lxc-start: No such file or directory - failed to open /etc/lxc/CONTAINER.conf lxc-start: failed to read configuration file * ERROR: lxc.fb64 failed to start Expected Results: * Starting CONTAINER ... [ ok ]
Thanks George, this is fixed in the new init script (and with the bump to 0.7.5).