[Lxc-users] lxc-instance fail

Tamas Papp tompos at martos.bme.hu
Mon Oct 7 17:46:33 UTC 2013


On 10/07/2013 07:09 PM, Serge Hallyn wrote:
> An easy way to reproduce this without zfs is:
>
> 	sudo lxc-create -t ubuntu -n r0
> 	sudo cp /var/lib/lxc/r0/config /tmp
> 	sudo lxc-start -n r0 -f /tmp/config -d
> 	sudo lxc-info -n r0
> 		(it shows up as stopped)
>
> sudo lsof shows that
>
> 	@/var/lib/lxc_anon/r0/command
>
> is the command socket, not the usual
>
> 	@/var/lib/lxc/r0/command
>
> You can see it using
>
> 	sudo lxc-info -P /var/lib/lxc_anon -n r0
>
> Perhaps lxc-instance should be following the config link, making
> sure it is in fact $lxcpath/$lxcname/config, and then just doing
> lxc-start -n $lxcname?
>
> -serge

Indeed, if I remove '-f $CONFIG' from upstart config it works fine.
Actually why is it there?

Thanks,
tamas




More information about the lxc-users mailing list