Bug 1350535
| Summary: | sssd needs access to /etc/sssd/conf.d | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Hrozek <jhrozek> | |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.3 | CC: | lslebodn, lvrabec, mgrepl, mmalik, mniranja, pkis, plautrba, pvrabec, ssekidde | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | selinux-policy-3.13.1-83.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1376681 (view as bug list) | Environment: | ||
| Last Closed: | 2016-11-04 02:32:49 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1376681 | |||
and AVCs in permissive mode
type=AVC msg=audit(06/27/2016 19:40:32.511:3430) : avc: denied { read } for pid=16491 comm=sssd name=conf.d dev="dm-1" ino=1871243 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:sssd_conf_t:s0 tclass=dir permissive=1
----
type=AVC msg=audit(06/27/2016 19:40:32.511:3431) : avc: denied { getattr } for pid=16491 comm=sssd name=/ dev="dm-1" ino=256 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=1
*** Bug 1357524 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2283.html |
Description of problem: We added an include directory to sssd, but without selinux-policy changes, we see avc denials type=AVC msg=audit(06/23/2016 10:44:57.486:910) : avc: denied { read } for pid=27671 comm=sssd name=conf.d dev="dm-1" ino=1871243 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:sssd_conf_t:s0 tclass=dir permissive=0 We need to allow sssd to read the contents of /etc/sssd/conf.d