Thursday, November 15, 2012
6:57 PM

IPtables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found

Solution to : IPtables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found

root@server1:~# ls -l /sbin/ | grep restore
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



0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.