Bug 1561755
Summary: | SELinux is preventing sh from 'connectto' accesses on the unix_stream_socket /var/lib/sss/pipes/nss. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | kristciko |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:ae11f49b8cc613e556019c6c0f50cbc96e26079ee7d3ada3e332af02f39ed900;VARIANT_ID=workstation; | ||
Fixed In Version: | selinux-policy-3.13.1-283.30.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-01 20:13:59 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: |
Description
kristciko
2018-03-28 20:07:59 UTC
selinux-policy-3.13.1-283.30.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3791c3118 selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3791c3118 I got another error after installed test updates. SELinux is preventing sh from getattr access on the file /var/lib/sss/mc/passwd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sh should be allowed getattr access on the passwd 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 'sh' --raw | audit2allow -M my-sh # semodule -X 300 -i my-sh.pp Additional Information: Source Context system_u:system_r:l2tpd_t:s0 Target Context system_u:object_r:sssd_public_t:s0 Target Objects /var/lib/sss/mc/passwd [ file ] Source sh Source Path sh Port <Unknown> Host T450 Source RPM Packages Target RPM Packages sssd-common-1.16.1-1.fc27.x86_64 Policy RPM selinux-policy-3.13.1-283.30.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name T450 Platform Linux T450 4.15.13-300.fc27.x86_64 #1 SMP Mon Mar 26 19:06:57 UTC 2018 x86_64 x86_64 Alert Count 182 First Seen 2018-03-28 22:09:28 CEST Last Seen 2018-03-31 21:53:56 CEST Local ID 4b5a7f34-5668-45e8-9d73-639b875e02ff Raw Audit Messages type=AVC msg=audit(1522526036.766:262): avc: denied { getattr } for pid=3647 comm="sh" path="/var/lib/sss/mc/passwd" dev="dm-0" ino=3147042 scontext=system_u:system_r:l2tpd_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file permissive=0 Hash: sh,l2tpd_t,sssd_public_t,file,getattr selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |