Bug 1655777
| Summary: | SELinux is preventing sss_cache from 'write' accesses on the directory /var/lib/sss/db. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Modestas <modestukasai> |
| 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, jeanbaptisteadajhouisso, lslebodn, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:78d231115361afb155b2206695824ea183a257ab5a2795d7c9609d2775c62c09;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-07 13:21:28 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 1655780 has been marked as a duplicate of this bug. *** *** Bug 1656577 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 directory /var/lib/sss/db. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sss_cache should be allowed write access on the db directory 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:groupadd_t:s0-s0:c0.c102 3 Target Context system_u:object_r:sssd_var_lib_t:s0 Target Objects /var/lib/sss/db [ dir ] Source sss_cache Source Path sss_cache Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages sssd-common-1.16.3-2.fc28.x86_64 Policy RPM selinux-policy-3.14.1-48.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.18.18-200.fc28.x86_64 #1 SMP Mon Nov 12 03:17:32 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-12-02 11:29:19 EET Last Seen 2018-12-02 11:29:19 EET Local ID 7810897b-b8a5-4ea7-9f76-51fc0c6dac42 Raw Audit Messages type=AVC msg=audit(1543742959.687:591): avc: denied { write } for pid=7604 comm="sss_cache" name="db" dev="dm-1" ino=1975299 scontext=unconfined_u:unconfined_r:groupadd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir permissive=0 Hash: sss_cache,groupadd_t,sssd_var_lib_t,dir,write Version-Release number of selected component: selinux-policy-3.14.1-48.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.19.5-200.fc28.x86_64 type: libreport