[Lxc-users] lxc configuration bug (was: Re: lxc-destroy erase rootfs)

Papp Tamas tompos at martos.bme.hu
Mon Feb 18 22:58:35 UTC 2013


On 02/11/2013 04:11 AM, Serge Hallyn wrote:
>
> Agreed, please do get us precise reproduction steps so we can look into
> it and fix it.

I'm sorry about the delay.
I tested is again and I'm quite surprised, that you're right. If it's at the originial location, 
then it just works fine.

>> If you can create it from scratch then you should be able to do whatever
>> modifications you need and have it picked up the next time the container is
>> stopped-started.

This was totally new to me.

Reproduce:

lxc version: 0.9.0.alpha2 (also true for older versions)
Linux virt102 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 
GNU/Linux


$ lxc-create -n ltest -t ubuntu
$ mv /var/lib/lxc/ltest /data/lxc/ltest
$ cd /data/lxc/ltest
$ lxc-destroy -n ltest
$ lxc-create -n ltest -f config
$ lxc-start -n ltest
[ check mac address ]
$ lxc-stop -n ltest
[ change mac address in config ]
$ lxc-start -n ltest
[ check mac address ]


Should I put it to launchpad?

tamas




More information about the lxc-users mailing list