[lxc-devel] lxc_veth_create() fails

richard -rw- weinberger richard.weinberger at gmail.com
Thu Mar 10 21:45:49 UTC 2011


hi!

i'm trying to use lxc 0.7.4 on centos 5.5 (kernel 2.6.37.3).

lxc-start fails when i configure a network.
e.g:
lxc-start: failed to create vethivvZMG-vethGjB0lG : Operation not supported
lxc-start: failed to create netdev
lxc-start: failed to create the network
lxc-start: failed to spawn 'c0'
lxc-start: No such file or directory - failed to remove cgroup '/cgroup/c0'

it fails within lxc_veth_create():
err = netlink_transaction(&nlh, nlmsg, answer);
err becomes -95.

within netlink_transaction() this condition leads to the error.
answer->nlmsghdr.nlmsg_type == NLMSG_ERROR

this is my configuration:
lxc.utsname = c0
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = bridge0
lxc.network.hwaddr = a1:b2:c3:d4:e5:f6
lxc.network.ipv4 = 10.0.2.41/24
lxc.network.name = eth0
lxc.mount = /lxc/_cfg/c0/fstab
lxc.rootfs = /lxc/c0/


any ideas why it fails?
without a network configuration it works fine...

-- 
Thanks,
//richard




More information about the lxc-devel mailing list