Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1512783
Summary: | Docker embedded DNS doesn't function when running with SELinux and --userns-remap | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lars Becker <lars+bugzilla.redhat.com> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-283.16.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-20 16:55:43 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: |
Description
Lars Becker
2017-11-14 05:34:12 UTC
Ah, sorry, I missed to include the policy which helped me to work around this problem. Here is it: module firewall2 1.0; require { type iptables_t; class cap_userns { net_admin net_raw }; } #============= iptables_t ============== allow iptables_t self:cap_userns net_raw; allow iptables_t self:cap_userns net_admin; So this looks like iptables is running within the user namespace? https://github.com/fedora-selinux/selinux-policy/pull/205 Should fix this issue. selinux-policy-3.13.1-283.16.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393 selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393 I uninstalled my self build firewall2.pp file with `semodule -r` and installed selinux-policy-3.13.1-283.16.fc27.noarch.rpm and selinux-policy-targeted-3.13.1-283.16.fc27.noarch.rpm from testing. I can confirm that the installation of those two packages fix my problem. Thanks! selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |