When I tried to restart iptables from vps , I got the following error.
Iptables encountered such a problem to save the iptables rules:
“iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found iptables: Saving firewall rules to / etc/sysconfig/iptables: / etc / init.d / iptables: line 268: restorecon: command not found”
Fix :
yum install policycoreutils
时间: 2024-10-10 21:29:37