Bug 2315512
| Summary: | SELinux is preventing pool-geoclue from 'search' accesses on the directory /var/lib/libvirt. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Renich Bon Ciric <renich> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 41 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, renich, vmojzis, zpytela | ||||||
| Target Milestone: | --- | Flags: | zpytela:
mirror+
|
||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:00cdeac2634c47583b74b7c758f0b0156bc39f018cce4a22f8da6f7fdafa4354;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | selinux-policy-41.41-1.fc41 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-06-04 03:34:51 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 2049349 [details]
File: description
Created attachment 2049350 [details]
File: os_info
FEDORA-2025-cc4083b3f2 (selinux-policy-41.41-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-cc4083b3f2 FEDORA-2025-cc4083b3f2 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-cc4083b3f2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-cc4083b3f2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-cc4083b3f2 (selinux-policy-41.41-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. *** Bug 2314278 has been marked as a duplicate of this bug. *** |
Description of problem: I have virt-manager open. I am trying to start a new guest in Fedora 41 and it is not allowing me. SELinux is preventing pool-geoclue from 'search' accesses on the directory /var/lib/libvirt. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pool-geoclue should be allowed search access on the libvirt directory 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 'pool-geoclue' --raw | audit2allow -M my-poolgeoclue # semodule -X 300 -i my-poolgeoclue.pp Additional Information: Source Context system_u:system_r:geoclue_t:s0 Target Context system_u:object_r:virt_var_lib_t:s0 Target Objects /var/lib/libvirt [ dir ] Source pool-geoclue Source Path pool-geoclue Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages libvirt-daemon-common-10.6.0-5.fc41.x86_64 SELinux Policy RPM selinux-policy-targeted-41.19-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.19-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.11.0-63.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Sep 15 17:48:54 UTC 2024 x86_64 Alert Count 4 First Seen 2024-09-28 22:38:19 CST Last Seen 2024-09-28 22:38:19 CST Local ID 66920ad1-64c5-420f-949e-1fb6debfafe1 Raw Audit Messages type=AVC msg=audit(1727584699.664:1239): avc: denied { search } for pid=2073 comm="pool-geoclue" name="libvirt" dev="nvme1n1p2" ino=478 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:virt_var_lib_t:s0 tclass=dir permissive=0 Hash: pool-geoclue,geoclue_t,virt_var_lib_t,dir,search Version-Release number of selected component: selinux-policy-targeted-41.19-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing pool-geoclue from 'search' accesses on the directory /var/lib/libvirt. package: selinux-policy-targeted-41.19-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.11.0-63.fc41.x86_64 event_log: 2024-09-28-22:38:48> Looking for similar problems in bugzilla comment: I have virt-manager open. I am trying to start a new guest in Fedora 41 and it is not allowing me. component: selinux-policy