[PATCH rhel5-branch] Set selinux context on iptables files (#658084)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the following files to the list that has their context setup after
install:

/etc/sysconfig/iptables
/etc/sysconfig/ip6tables
/etc/sysconfig/iptables-config

Resolves: rhbz#658084

NOTE: Tested against RHEL5.6 DVD
---
 packages.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/packages.py b/packages.py
index 3a9fd88..4903018 100644
--- a/packages.py
+++ b/packages.py
@@ -216,7 +216,9 @@ def setFileCons(anaconda):
                  "/etc/shadow", "/etc/shadow-", "/etc/gshadow",
                  "/var/log/lastlog", "/var/log/btmp",
                  "/var/lib/multipath", "/var/lib/multipath/bindings",
-                 "/etc/multipath.conf", "/etc/sysconfig/keyboard"]
+                 "/etc/multipath.conf", "/etc/sysconfig/keyboard",
+                 "/etc/sysconfig/iptables", "/etc/sysconfig/ip6tables",
+                 "/etc/sysconfig/iptables-config"]
 
         vgs = []
         for entry in anaconda.id.partitions.requests:
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux