Bug 1079636
Summary: | Enforcing selinux-policy-targeted prevents named-chroot.service from functioning | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jari Turkia <redhat-bugzilla> |
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dwalsh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.12.1-74.30.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-12-19 18:29:37 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
Jari Turkia
2014-03-22 11:15:32 UTC
The problem is in /etc/selinux/targeted/contexts/files/file_contexts in the line /var/named/chroot/var/run/named.* system_u:object_r:named_var_run_t:s0 In fact the given directory is incorrect, correct one is /var/named/chroot/run/named/ and it has two files in it: -rw-r--r--. 1 named named 5 Mar 22 12:02 named.pid -rw-------. 1 named named 102 Mar 22 12:02 session.key Even if, the directory would be correct, the session.key file would not be matched. commit 22f659ea66563d960048298c8b24536c86859243 fixes this in git. selinux-policy-3.12.1-74.29.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.29.fc19 Package selinux-policy-3.12.1-74.29.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-74.29.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9432/selinux-policy-3.12.1-74.29.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-74.30.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.30.fc19 selinux-policy-3.12.1-74.30.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |