Comment 2 for bug 880020

Revision history for this message
xlyz (xlyz) wrote : Re: oneiric container install problem #1: resolvconf

commands:

sudo rm -fr /var/cache/lxc/oneiric
sudo lxc-create -t ubuntu -n test -f /etc/lxc/local.conf -- -r oneiric -a i386

errors during creation are shown only when container cache is bootstrapped (but the problem is still there also when the cache is just copied)

in the host:

cat /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

auto br0
iface br0 inet dhcp
bridge_ports eth0

cat /etc/lxc/local.conf

lxc.network.type=veth
lxc.network.link=br0
lxc.network.flags=up
lxc.arch=i686

resolvconf is not insatalled in the host either (as per default) as currently does not behave as expected

in the container:

cat /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

if I remove resolvconf from oneiric extra packages in /usr/lib/lxc/templates/lxc-ubuntu everything works properly.