[lxc-users] Configuration not being refreshed on reboot

CDR venefax at gmail.com
Thu May 22 02:49:28 UTC 2014


Dear Friends
I came upon a bug that needs to be addressed
Suppose you have a container with a network like this

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br20
lxc.network.hwaddr = 92:ea:2b:24:e0:27
lxc.network.ipv4 = 0.0.0.0/24

The container is UP, then you decide to change the configuration to
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br21 ################### changed
lxc.network.hwaddr = 92:ea:2b:24:e0:27
lxc.network.ipv4 = 0.0.0.0/24

and then you issue a reboot from inside the container. The new
configuration is not read.
The only way to shutdown and start. It should not be the case.
I am using Ubuntu server

dpkg --list | grep lxc

ii  liblxc1                                1.0.3-0ubuntu3
             amd64        Linux Containers userspace tools (library)
ii  lxc                                    1.0.3-0ubuntu3
             amd64        Linux Containers userspace tools
ii  lxc-templates                          1.0.3-0ubuntu3
             amd64        Linux Containers userspace tools (templates)
ii  python3-lxc                            1.0.3-0ubuntu3
             amd64        Linux Containers userspace tools (Python 3.x
bindings)


More information about the lxc-users mailing list