Bug 2127402
| Summary: | SELinux is preventing gdm-session-wor from 'read' accesses on the key labeled kernel_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> |
| 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: | 37 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:91291686c818b9964ca0c5d489970bcc7de78928085d553f3c093e91c725e989;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-16 09:05:31 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: | |||
Seems a new F37 build needs to be created. *** This bug has been marked as a duplicate of bug 2111834 *** |
Description of problem: Logged in (autologin) after upgrading to Fedora 37, and this popped up. SELinux is preventing gdm-session-wor from 'read' accesses on the key labeled kernel_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdm-session-wor should be allowed read access on key labeled kernel_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 'gdm-session-wor' --raw | audit2allow -M my-gdmsessionwor # semodule -X 300 -i my-gdmsessionwor.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:system_r:kernel_t:s0 Target Objects Unknown [ key ] Source gdm-session-wor Source Path gdm-session-wor Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-37.8-1.fc37.noarch Local Policy RPM selinux-policy-targeted-37.8-1.fc37.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.19.8-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 8 19:14:17 UTC 2022 x86_64 x86_64 Alert Count 2 First Seen 2022-09-16 10:03:54 CEST Last Seen 2022-09-16 10:03:54 CEST Local ID 17ffc4dc-4fa6-46cd-830b-a9167f13de85 Raw Audit Messages type=AVC msg=audit(1663315434.62:261): avc: denied { read } for pid=1488 comm="gdm-session-wor" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=key permissive=0 Hash: gdm-session-wor,xdm_t,kernel_t,key,read Version-Release number of selected component: selinux-policy-targeted-37.8-1.fc37.noarch Additional info: component: selinux-policy reporter: libreport-2.17.4 hashmarkername: setroubleshoot kernel: 5.19.8-300.fc37.x86_64 type: libreport Potential duplicate: bug 1381876