Hello,

On Mon, 2014-06-09 at 10:07 -0400, Shidan wrote:
> I now am trying to get an unprivilaged container to auto-start, I put
> the following in ~/.config/lxc/default.conf:

> lxc.start.auto = 1
> lxc.start.delay = 5

I don't think that's going to work in default.conf.  It will have to be
in the individual configuration files.  It might work if you put it in
there and THEN created the container.  But, if you created the container
first and then put the parameters in default.conf, I don't think that's
going to work.

> I also tried putting it in the main /etc/lxc/default.conf file. For
> both cases it doesn't work and lxc-ls --fancy shows the autostart flag
> as NO.

Did you try putting it in the individual configuration files?  Try that.

I strongly syspect you're going to have problems with lxc-autostart with
unpriv containers at the moment, even if you lxc-ls to recognize the
autostart config option.  I just discovered this yesterday while
investigating the code for another feature but, currently, it appears
that lxc-autostart is not honoring the -P option.  It might work, in
this case, if you have an lxcpath specified in your configuration file
but I haven't chased the logic path on that one down yet.  Stephane
probably needs to chime in on this.
> 
Regards
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  [email protected]
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to