Bugzilla – Bug 1089
Last modified: 2015-04-01 14:46:12 EDT
The update indroduced a bug:
ip addr add 0 dev "$host_ifname"
does not create the interface. Instead the old way
ifconfig "$host_ifname" 0
vzctl creates this device via veth_ctl() function,
so why should vznetaddbr bother?
It does not work here (debian etch) - dont know why.
Anyways, why did you change it - the previous version also use 'ifconfig'?
(In reply to comment #2)
> It does not work here (debian etch) - dont know why.
Which debian version is used ?
(In reply to comment #4)
> debian etch
vzctl (3.0.11-14), Mon, 10 Mar 2008 18:58:04 +0100
iproute (20061002-3), Thu, 14 Dec 2006 20:11:55 +0100
and the OpenVZ kernel is the pve 2.6.24-1 (ovz005) ?
I am on Proxmox VE - latest ubuntu kernel and latest vzctl from git.
Anyways, I cant reproduce the error anymore - it works both ways.
But with the new way the interface shows up in " /proc/net/dev", but
not in the output by "ifconfig"? Whats the difference?
OK, it does not work a plain Proxmox VE installation:
But it works when I install shorewall - maybe it is dependend in the modules loaded. I will do more tests here.
Unfortunately I am unable to see why it works/sometimes. The only consistent difference I see is that the interface shows up in " /proc/net/dev", but
not in the output by "ifconfig".
Please pull the fix: http://git.altlinux.org/people/ldv/packages/?p=vzctl.git;h=maint
fixed in git, will appear in vzctl >= 3.0.24.
Bug was fixed more than one year ago and there were no complains from reporter after fix. We believe bug fix helped and mark bug as closed.