Bug 1514813
| Summary: | SELinux is preventing snapd from 'getattr' accesses on the lnk_file /etc/pki/tls/certs/ca-bundle.crt. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Predrag <predrag.zvijerac> |
| 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: | 27 | CC: | aekrizi, dwalsh, lvrabec, mgrepl, plautrba, pmoore, victorffrock |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2c75e4ab26c151f7580402ef905aec50c4372a0b435f3932df2adde9533042ed;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-20 12:36:43 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: | |||
*** This bug has been marked as a duplicate of bug 1514800 *** *** Bug 1560303 has been marked as a duplicate of this bug. *** *** Bug 1565086 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing snapd from 'getattr' accesses on the lnk_file /etc/pki/tls/certs/ca-bundle.crt. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that snapd should be allowed getattr access on the ca-bundle.crt lnk_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 'snapd' --raw | audit2allow -M my-snapd # semodule -X 300 -i my-snapd.pp Additional Information: Source Context system_u:system_r:snappy_t:s0 Target Context system_u:object_r:cert_t:s0 Target Objects /etc/pki/tls/certs/ca-bundle.crt [ lnk_file ] Source snapd Source Path snapd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM <Unknown> Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.13.12-300.fc27.x86_64 #1 SMP Wed Nov 8 16:38:01 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-11-16 21:51:44 CET Last Seen 2017-11-16 21:51:44 CET Local ID ff1f53dd-fe31-4358-afda-0e33c6310bd1 Raw Audit Messages type=AVC msg=audit(1510865504.778:3469): avc: denied { getattr } for pid=5001 comm="snapd" path="/etc/pki/tls/certs/ca-bundle.crt" dev="dm-1" ino=1967648 scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=lnk_file permissive=1 Hash: snapd,snappy_t,cert_t,lnk_file,getattr Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.13.12-300.fc27.x86_64 type: libreport