Bug 2003424
| Summary: | SELinux is preventing pcscd from 'sys_ptrace' accesses on the cap_userns labeled pcscd_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | C L <cl_111> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 33 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:836512034e768ae59957820214125c8348aa43ddda22f223655453b5ea38973a;VARIANT_ID=xfce; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-13 06:32:54 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 1985823 *** |
Description of problem: SELinux is preventing pcscd from 'sys_ptrace' accesses on the cap_userns labeled pcscd_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pcscd should be allowed sys_ptrace access on cap_userns labeled pcscd_t 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 'pcscd' --raw | audit2allow -M my-pcscd # semodule -X 300 -i my-pcscd.pp Additional Information: Source Context system_u:system_r:pcscd_t:s0 Target Context system_u:system_r:pcscd_t:s0 Target Objects Unknown [ cap_userns ] Source pcscd Source Path pcscd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.6-39.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-39.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.13.4-100.fc33.x86_64 #1 SMP Tue Jul 20 22:25:05 UTC 2021 x86_64 x86_64 Alert Count 1 First Seen 2021-07-27 18:16:07 AWST Last Seen 2021-07-27 18:16:07 AWST Local ID d29becc1-e3b7-416d-93b2-f68d1a3ab17e Raw Audit Messages type=AVC msg=audit(1627380967.984:289): avc: denied { sys_ptrace } for pid=1204 comm="pcscd" capability=19 scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=cap_userns permissive=1 Hash: pcscd,pcscd_t,pcscd_t,cap_userns,sys_ptrace Version-Release number of selected component: selinux-policy-targeted-3.14.6-39.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.13.12-100.fc33.x86_64 type: libreport Potential duplicate: bug 1985823