Bug 1030627
Summary: | iptables restart fails on OpenShift on RHEL 6.5 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mrunal Patel <mpatel> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | admiller, dwalsh, mmalik |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-15 18:16:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1030780 | ||
Bug Blocks: |
Description
Mrunal Patel
2013-11-14 20:12:18 UTC
What is the output of following command on your machine? # ls -Z /etc/sysconfig/iptables* -rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 /etc/sysconfig/iptables Apologies. -rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 /etc/sysconfig/iptables -rw-------. root root system_u:object_r:system_conf_t:s0 /etc/sysconfig/iptables-config Please, run "restorecon -Rv /etc" on your machine. The /etc/sysconfig/iptables is mislabeled. Possible cause: it was moved from /root directory into /etc/sysconfig directory (mv preserves SELinux context, cp does not). According to SELinux policy the files should have following labels: # matchpathcon /etc/sysconfig/iptables /etc/sysconfig/iptables system_u:object_r:system_conf_t:s0 # matchpathcon /etc/sysconfig/iptables-config /etc/sysconfig/iptables-config system_u:object_r:system_conf_t:s0 # This appears to be a flaw in the way we're constructing our internal development environments. I've submitted a pull request to fix this. https://github.com/openshift/li/pull/2163 Closing, NOTABUG. |