jarbear Posted April 17, 2021 Posted April 17, 2021 I am getting this failure at boot. Can I uninstall netfilter-persistent or is it required? sudo systemctl status netfilter-persistent ● netfilter-persistent.service - netfilter persistent configuration Loaded: loaded (/lib/systemd/system/netfilter-persistent.service; enabled; ve Active: failed (Result: exit-code) since Sat 2021-04-17 07:26:49 PDT; 1h 16mi Process: 469 ExecStart=/usr/sbin/netfilter-persistent start (code=exited, stat Main PID: 469 (code=exited, status=1/FAILURE) Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 3: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 4: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 5: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: run-parts: /usr/share/net Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: run-parts: executing /usr Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: ip6tables-restore v1.8.2 Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 3: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 4: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: line 5: CHAIN_UPDATE fail Apr 17 07:26:51 tinkerboard netfilter-persistent[469]: run-parts: /usr/share/net lines 1-16/16 (END) I think this is where the failed lines 3, 4, and five. Maybe because of the netfilter failure. /etc/iptables/iptables rules.v6 # Generated by xtables-save v1.8.2 on Sat Apr 17 07:24:31 2021 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] COMMIT # Completed on Sat Apr 17 07:24:31 2021 sudo iptables-restore < /etc/iptables/rules.v6 iptables-restore v1.8.2 (nf_tables): line 3: CHAIN_UPDATE failed (No such file or directory): chain INPUT line 4: CHAIN_UPDATE failed (No such file or directory): chain FORWARD line 5: CHAIN_UPDATE failed (No such file or directory): chain OUTPUT
lanefu Posted April 18, 2021 Posted April 18, 2021 you can try uninstalling. FYI iptables is a wrapper for nftables in modern kernels.
Solution jarbear Posted April 18, 2021 Author Solution Posted April 18, 2021 I uninstalled netfilter-persistent. It also uninstalled iptables-persistent. I think it is rules for the firewall. But there is no rules in it.
Recommended Posts