Bug 2347520
| Summary: | SELinux is preventing blueman-mechani from using the 'kill' capabilities. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chipeng Li <chplee> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 41 | CC: | chplee, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:f3f7190f118111f058c862a4d244d3de7fe2b4ebc50d17b3923bb399edfe887b;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | selinux-policy-41.36-1.fc41 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-04-13 01:39:55 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 2077801 [details]
File: description
Created attachment 2077802 [details]
File: os_info
FEDORA-2025-73a887d073 (selinux-policy-41.35-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-73a887d073 FEDORA-2025-73a887d073 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-73a887d073` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-73a887d073 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-c6d8815d3a 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-c6d8815d3a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c6d8815d3a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-c6d8815d3a (selinux-policy-41.36-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: This bug appeared when I Disconnect a serial port from a bluetooth device using blueman SELinux is preventing blueman-mechani from using the 'kill' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that blueman-mechani should have the kill capability 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 'blueman-mechani' --raw | audit2allow -M my-bluemanmechani # semodule -X 300 -i my-bluemanmechani.pp Additional Information: Source Context system_u:system_r:blueman_t:s0 Target Context system_u:system_r:blueman_t:s0 Target Objects Unknown [ capability ] Source blueman-mechani Source Path blueman-mechani Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.33-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.33-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.12.15-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 18 15:24:05 UTC 2025 x86_64 Alert Count 2 First Seen 2025-02-25 22:45:47 CST Last Seen 2025-02-25 22:47:08 CST Local ID 10e74088-6ae1-4118-853b-df400d9d7c5b Raw Audit Messages type=AVC msg=audit(1740494828.656:1174): avc: denied { kill } for pid=53900 comm="blueman-mechani" capability=5 scontext=system_u:system_r:blueman_t:s0 tcontext=system_u:system_r:blueman_t:s0 tclass=capability permissive=0 Hash: blueman-mechani,blueman_t,blueman_t,capability,kill Version-Release number of selected component: selinux-policy-targeted-41.33-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing blueman-mechani from using the 'kill' capabilities. package: selinux-policy-targeted-41.33-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.15-200.fc41.x86_64 comment: This bug appeared when I Disconnect a serial port from a bluetooth device using blueman component: selinux-policy