12 Sep

Fixing “/etc/init.d/iptables: line 268: restorecon: command not found” on Centos

Here’s a problem:

[root@it2 /]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found
[FAILED]
[root@it2 /]#

And here’s the solution:

yum install policycoreutils

 

 



Leave a Reply

Your email address will not be published. Required fields are marked *