| Summary: | incorrect selinux label on /run/pkcsslotd.socket | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael S. <misc> |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, misc |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-06 22:00:40 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: | |
|
Description
Michael S.
2013-12-21 22:23:02 UTC
grep /run/pkcsslotd /etc/selinux/targeted/contexts/files/file_contexts /var/run/pkcsslotd.* system_u:object_r:pkcs_slotd_var_run_t:s0 Would the file context also match if the file is /run rather than /var/run, ( I mean, at creation time ) ? as I do have the same result than you, but I can still reproduce the problem of having the socket wrongly labelled when pkcsslotd is started. Yes /run == /var/run, there is a file equivalence. matchpathcon /run/pkcsslotd.socket $ matchpathcon /run/pkcsslotd.socket /run/pkcsslotd.socket system_u:object_r:var_run_t:s0 If you execute # yum reinstall selinux-policy-targeted does it blow up? That indeed fix the issue so I guess I can close it ? |