Description of problem: Starting ccsd... audit(...): avc: denied { use } for pid=2074 comm="ccsd" name="console" dev=tmpfs ino=747 scontext=system_u_system_r:ccs_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fd Version-Release number of selected component (if applicable): cman-2.0.13-2.fc6 selinux-policy-targeted-2.3.12-1
Is this still a problem? I was able to start ccsd without any problem. Checked audit log for any trace of ccsd being denied and found nothing. Using Rawhide system with: kernel-xen-2.6.17-1.2647.fc6 selinux-policy-targeted-2.3.13-5 selinux-policy-2.3.13-5
I get: DLM (built Oct 2 2006 19:28:38) installed GFS2 (built Oct 2 2006 19:29:17) installed Lock_DLM (built Oct 2 2006 19:29:28) installed audit(1160067158.195:5): avc: denied { create } for pid=2622 comm="ccsd" name="cluster" scontext=root:system_r:ccs_t:s0 tcontext=root:object_r:var_run_t:s0 tclass=dir cman-2.0.18-2.fc6 kernel-2.6.18-1.2726.fc6 selinux-policy-targeted-2.3.17-2
Ok I will update policy for this, but shouldn't /var/run/cluster be owned by the ccs rpm package? This would cause it's labeling to be correct on install and not have to add policy rules. selinux-policy-targeted-2.3.18-6
That sounds reasonable. I will take a look at the spec file for the cman rpm (ccs is now part of cman package). I will add comments here if/when the spec file changes.
Added /var/run/cluster to cman spec file. Patch included. Is this a problem for RHEL as well? We will need an equivalent change for that as well.
Created attachment 137836 [details] Add /var/run/cluster to cman spec file.
Yes, RHEL5 would have the same issue.
OK. If I am understanding the comments above, then it should be fixed with the addition of /var/run/cluster to the spec file.
Correct.
Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp