Bug 1656307
| Summary: | SELinux is preventing sss_cache from 'write' accesses on the file config.ldb. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hasib Ahmad Khaliqi <hasibahmadkh> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | dwalsh, lslebodn, lvrabec, mcryer10, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:d12e5f522c582831154b5a40b260636f4cbbf3cc1976ca80efe18d0aa05362da; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-07 13:20:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 1656589 has been marked as a duplicate of this bug. *** *** Bug 1656590 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1640255 *** |
Description of problem: SELinux is preventing sss_cache from 'write' accesses on the file config.ldb. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sss_cache should be allowed write access on the config.ldb file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'sss_cache' --raw | audit2allow -M my-ssscache # semodule -X 300 -i my-ssscache.pp Additional Information: Source Context unconfined_u:unconfined_r:useradd_t:s0-s0:c0.c1023 Target Context system_u:object_r:sssd_var_lib_t:s0 Target Objects config.ldb [ file ] Source sss_cache Source Path sss_cache Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-40.fc29.noarch selinux- policy-3.14.2-42.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.18.16-300.fc29.x86_64 #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-12-05 13:39:06 IST Last Seen 2018-12-05 13:39:06 IST Local ID 25062568-4a9d-41e8-b758-8b19baf49575 Raw Audit Messages type=AVC msg=audit(1543997346.121:314): avc: denied { write } for pid=11294 comm="sss_cache" name="config.ldb" dev="dm-0" ino=660474 scontext=unconfined_u:unconfined_r:useradd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=file permissive=0 Hash: sss_cache,useradd_t,sssd_var_lib_t,file,write Version-Release number of selected component: selinux-policy-3.14.2-40.fc29.noarch selinux-policy-3.14.2-42.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.18.16-300.fc29.x86_64 type: libreport Potential duplicate: bug 1640254