View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007426 | Rocky-Linux-9 | nftables | public | 2024-07-14 14:43 | 2024-07-14 14:43 |
Reporter | Antonio Lo Russo | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Rocky Linux 9 | OS | Rocky Linux 9.4 | OS Version | 9.4 |
Summary | 0007426: nftables doesn't start at boot and it load strange conf | ||||
Description | Hi, I had my server with RockyLinux 9.3 and nftables service running properly with a custom configuration. After the update to 9.4 the service doesn't start at boot and it loads a wrong configuration: [root@pet-rp-01 ~]# systemctl status nftables ○ nftables.service - Netfilter Tables Loaded: loaded (/usr/lib/systemd/system/nftables.service; enabled; preset: disabled) Active: inactive (dead) Docs: man:nft(8) [root@pet-rp-01 ~]# [root@pet-rp-01 ~]# [root@pet-rp-01 ~]# nft list ruleset table inet firewalld { chain mangle_PREROUTING { type filter hook prerouting priority mangle + 10; policy accept; jump mangle_PREROUTING_ZONES } ....... chain mangle_PRE_policy_allow-host-ipv6_post { } } Then after server boots if a manually start the service, it runs properly and my configuration is loaded correcly: [root@pet-rp-01 ~]# systemctl start nftables [root@pet-rp-01 ~]# systemctl status nftables ● nftables.service - Netfilter Tables Loaded: loaded (/usr/lib/systemd/system/nftables.service; enabled; preset: disabled) Active: active (exited) since Sun 2024-07-14 16:41:46 CEST; 7s ago Docs: man:nft(8) Process: 1667 ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf (code=exited, status=0/SUCCESS) Main PID: 1667 (code=exited, status=0/SUCCESS) CPU: 34ms lug 14 16:41:46 pet-rp-01 systemd[1]: Starting Netfilter Tables... lug 14 16:41:46 pet-rp-01 systemd[1]: Finished Netfilter Tables. [root@pet-rp-01 ~]# [root@pet-rp-01 ~]# nft list ruleset table inet fw_table { chain filter_chain { tcp dport 22 accept tcp dport 443 accept } } Here is the actual version installed: [root@pet-rp-01 ~]# rpm -qa|grep nft libnftnl-1.2.6-2.el9.x86_64 nftables-1.0.9-1.el9.x86_64 iptables-nft-1.8.10-2.el9.x86_64 python3-nftables-1.0.9-1.el9.x86_64 Thanks, Antonio | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-14 14:43 | Antonio Lo Russo | New Issue |