Bug 1173547
Summary: | Missing rule to allow glusterd in enforcing mode | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fabian Deutsch <fdeutsch> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | dominick.grift, dwalsh, fdeutsch, lvrabec, mgrepl, plautrba |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-105.9.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-31 21:46:26 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
Fabian Deutsch
2014-12-12 12:04:35 UTC
Hi, Firstly, please update your selinux-policy package. Then, attach output of this: $ matchpathcon /var/run/glusterd.socket I believe this is just mislabeled sock file. Here you go: [root@host-01 ~]# matchpathcon /var/run/glusterd.socket /var/run/glusterd.socket system_u:object_r:glusterd_var_run_t:s0 There are currently no staged updates for that release. Use: #restorecon -v /var/run/glusterd.socket to fix it. Please, let me know if this happen again. Thank you. It was a clean installation! Why should I need to use restorecon on a clean installation!? Also: The context did not change: [root@host-01 ~]# matchpathcon /var/run/glusterd.socket /var/run/glusterd.socket system_u:object_r:glusterd_var_run_t:s0 [root@host-01 ~]# restorecon -v /var/run/glusterd.socket [root@host-01 ~]# matchpathcon /var/run/glusterd.socket /var/run/glusterd.socket system_u:object_r:glusterd_var_run_t:s0 It does not make sense to run restorecon! ls -lZ /var/run/glusterd.socket Lukas, it should be fixed with latest builds. commit 05c8c9f7cfc2f035ea5ab679c81b380f459ca31b Author: Miroslav Grepl <mgrepl> Date: Wed Jan 28 08:40:05 2015 +0100 Allow gluster rpm scriplet create glusterd socket with correct labeling. This is a workaround until we get fix in glusterd. commit cac96f6937c30842dbb36c5de19a657172d120dd Author: Miroslav Grepl <mgrepl> Date: Wed Jan 28 08:36:09 2015 +0100 Add glusterd_filetrans_named_pid() interface. Thank you Miroslav. Fabian could you try it with this build? http://koji.fedoraproject.org/koji/buildinfo?buildID=608635 Thank you. selinux-policy-3.13.1-105.9.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.9.fc21 Package selinux-policy-3.13.1-105.9.fc21: * should fix your issue, * was pushed to the Fedora 21 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.13.1-105.9.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4492/selinux-policy-3.13.1-105.9.fc21 then log in and leave karma (feedback). selinux-policy-3.13.1-105.9.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |