iptables saveを行うと、エラーが出る。

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

ここによると、iptablesがpolicycoreutils というパッケージに依存しているが上手く入っていないために発生するようだ。
http://www.centosblog.com/iptables-restorecon-command-not-found/

対処としては、yumでpolicycoreutilsを入れれば良いらしい。

yum install policycoreutils

ちなみに、こういうパッケージらしい。


Name       : policycoreutils
Arch       : i386
Version    : 1.33.12
Release    : 14.13.el5
Size       : 621 k
Repo       : base
Summary    : SELinux policy core utilities.
License    : GPL
Description: Security-enhanced Linux is a feature of the LinuxR kernel and a number
           : of utilities with enhanced security functionality designed to add
           : mandatory access controls to Linux.  The Security-enhanced Linux
           : kernel contains new architectural components originally developed to
           : improve the security of the Flask operating system. These
           : architectural components provide general support for the enforcement
           : of many kinds of mandatory access control policies, including those
           : based on the concepts of Type EnforcementR, Role-based Access
           : Control, and Multi-level Security.
           :
           : policycoreutils contains the policy core utilities that are required
           : for basic operation of a SELinux system.  These utilities include
           : load_policy to load policies, setfiles to label filesystems, newrole
           : to switch roles, and run_init to run /etc/init.d scripts in the proper
           : context.