[Devel] Re: [PATCH] vzctl: Add support for xt_tcpudp (aka ipt_tcp/ipt_udp) module introduced by x_tables

Dmitry Mishin dim at openvz.org
Thu Nov 9 06:05:23 PST 2006


On Thursday 09 November 2006 15:56, Konstantin A. Lepikhov wrote:
> <цитата от="Dmitry Mishin">
>
> > On Thursday 09 November 2006 10:48, Konstantin A. Lepikhov wrote:
> >> In recent 2.6 kernels (2.6.16+) netfilter code is changed by new
> >> x_tables
> >> (Abstraction layer for {ip,ip6,arp}_tables). This patch updates iptables
> >> wrapper code in vzctl for this changes (adding xt_tcpudp support).
> >
> > xt_tcpudp previously were inside ip_tables module. So, for compatibility,
> > current kernels handles this module by VE_IP_IPTABLES mask.
>
> But this module isn't been autoloaded. Let's try service vz start, and see
> that xt_tcpudp is absent. So looks like it ovz kernel patch bug.
It is not kernel bug. And it is not a bug at all. It is issue due to the one 
vzctl and multiple kernels with and without this module. And I don't want to 
add module dependencies in order to get xt_tcpudp loaded with x_tables.
When we'll switch stable branch to >=2.6.16 or add vzctl devel branch, then we 
fix it as we done for all other modules. Right now, it is unnecessary work.

Workaround is simple, but if you prepare patches for vzctl AND kernel with 
compatibility issues in mind - welcome!

-- 
Thanks,
Dmitry.




More information about the Devel mailing list