Привет всем.
CentOS 5.3, OpenVZ ставил через yum, все обновления.
Попробовал запустить iptables с --comment в контейнере:
iptables v1.3.5: Unknown arg `--comment'
Try `iptables -h' or 'iptables --help' for more information.
Если указать c -m comment:
iptables: Unknown error 4294967295
C помощью locate в HN нашел:
/lib/iptables/libipt_comment.so
/lib/modules/2.6.18-128.1.1.el5.028stab062.3/kernel/net/netfilter/xt_comment.ko
[другие ядра]
/vz/private/200/lib/iptables/libipt_comment.so
Добавляю в /etc/vz/vz.conf к IPTABLES="..." xt_comment, перезагружаю контейнер:
[...]
Warning: Unknown iptable module: xt_comment, skipped
[...]
То же самое для libipt_comment и (на всякий случай) ipt_comment.
Если попробовать отдельно для контейнера:
# vzctl set 200 --iptables xt_comment
Warning: Unknown iptable module: xt_comment, skipped
Warning: Unknown iptable module: xt_comment, skipped
Bad parameter for --iptables: xt_comment
Я что-то не так сделал?
[Updated on: Thu, 30 July 2009 08:14]
Report message to a moderator