Bug 2356212
| Summary: | SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file discowin. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Victoriano Giralt <vic> | ||||||
| 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: | 41 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vic, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:6333f1d7088ac0d569ca3fd25e1444949ff44dfe640a7c8bdc9f1c4acf9f592b;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-04-23 11:30:58 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 2082784 [details]
File: description
Created attachment 2082785 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2359843 *** |
Description of problem: I was starting a qemu guest controlled by virt-manager SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file discowin. ***** Plugin catchall (100. confidence) suggests ************************** Si cree que de manera predeterminada se debería permitir a rpc-virtqemud el acceso relabelfrom sobre discowin lnk_file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso temporalmente ejecutando: # ausearch -c 'rpc-virtqemud' --raw | audit2allow -M mi-rpcvirtqemud # semodule -X 300 -i mi-rpcvirtqemud.pp Additional Information: Source Context system_u:system_r:virtqemud_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects discowin [ lnk_file ] Source rpc-virtqemud Source Path rpc-virtqemud Port <Desconocido> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.34-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.34-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.13.8-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Mar 23 05:03:09 UTC 2025 x86_64 Alert Count 3 First Seen 2025-03-29 12:40:23 CET Last Seen 2025-03-31 15:15:28 CEST Local ID 5231c8bb-7a05-40b1-a269-32a34a076a53 Raw Audit Messages type=AVC msg=audit(1743426928.485:914): avc: denied { relabelfrom } for pid=47324 comm="rpc-virtqemud" name="discowin" dev="tmpfs" ino=7 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=1 Hash: rpc-virtqemud,virtqemud_t,tmpfs_t,lnk_file,relabelfrom Version-Release number of selected component: selinux-policy-targeted-41.34-1.fc41.noarch Additional info: reporter: libreport-2.17.15 package: selinux-policy-targeted-41.34-1.fc41.noarch kernel: 6.13.8-200.fc41.x86_64 component: selinux-policy hashmarkername: setroubleshoot type: libreport reason: SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file discowin. comment: I was starting a qemu guest controlled by virt-manager component: selinux-policy