Solution to : IPtables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found
lrwxrwxrwx 1 root root 14 May 23 17:52 iptables-restore -> iptables-multi
Means policycoreutils not Installed
So Install policycoreutils to get restorecon save Iptables
root@server1:~# yum install policycoreutils
root@server1:~# ls -l /sbin/ | grep restore
lrwxrwxrwx 1 root root 14 May 23 17:52 iptables-restore -> iptables-multi
lrwxrwxrwx 1 root root 8 Nov 15 17:00 restorecon -> setfiles
root@server1:~# yum install policycoreutils
root@server1:~# ls -l /sbin/ | grep restore
lrwxrwxrwx 1 root root 14 May 23 17:52 iptables-restore -> iptables-multi
lrwxrwxrwx 1 root root 8 Nov 15 17:00 restorecon -> setfiles
0 comments:
Post a Comment