Bug 2274 - Anolis OS 8.6 更新kernel到5.10后,iptables 不能再支持time参数配置
Summary: Anolis OS 8.6 更新kernel到5.10后,iptables 不能再支持time参数配置
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wuhao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
: 2239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-26 11:57 UTC by liuscom
Modified: 2022-12-12 14:12 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liuscom 2022-09-26 11:57:22 UTC
Description of problem:
Anolis OS8.6 ,打开了Plus源,更新了内核到5.10后重启应用新内核,iptables 无法再支持time参数配置了
iptables脚本添加-m time 配置后,无法执行iptables服务,报错提示
“iptables v1.8.4 (nf_tables): Couldn't load match `time':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.”

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 maqiao alibaba_cloud_group 2022-12-07 11:43:11 UTC
*** Bug 2239 has been marked as a duplicate of this bug. ***
Comment 2 liuscom 2022-12-07 11:51:27 UTC
(In reply to maqiao from comment #1)
> *** Bug 2239 has been marked as a duplicate of this bug. ***

Thank you. I hope it can be resolved quickly
Comment 3 maqiao alibaba_cloud_group 2022-12-08 10:17:29 UTC
应该是CONFIG_NETFILTER_XT_MATCH_TIME这个配置没有打开导致的。
在4.19上的配置是m,在5.10上not set
Comment 4 liuscom 2022-12-12 14:12:00 UTC
(In reply to maqiao from comment #3)
> 应该是CONFIG_NETFILTER_XT_MATCH_TIME这个配置没有打开导致的。
> 在4.19上的配置是m,在5.10上not set

我是通过dnf install 安装的iptables ,没有编译安装,
那这种问题,如何修复处理呢?我需要如何操作?