I always get this message in my /var/log/rc.log :
iptables | * Your kernel lacks iptables support, please load
iptables | * appropriate modules and try again.
iptables | * ERROR: iptables failed to stop
It seems Iptables itself works ok:
Chain INPUT (policy ACCEPT 1 packets, 345 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
On pre_stop, Iptables service looks for /proc/net/ip_tables_names file which does not exist hence the error. I actually have thousands of ip_tables_names files at /proc/"num"/net/ip_tables_names and /proc/"num"/task/"num"/net/ip_tables_names where "num" is a number from 1 to several thousands. I beleive all the ip_tables_names contain just a word "filter".
My /usr/bin/iptables points at /usr/bin/xtables-legacy-multi binary file
Is it ok to correct the service file to make it look for /proc/1/net/ip_tables_names instead ?