Bug 2224461 - SELinux is preventing blueman-mechani from 'read' accesses on the file possible.
Summary: SELinux is preventing blueman-mechani from 'read' accesses on the file possible.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c0dec10e09c18feb52ebd1a94a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-21 01:23 UTC by Ian Laurie
Modified: 2023-08-12 04:22 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-38.24-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-12 04:22:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.96 KB, text/plain)
2023-07-21 01:23 UTC, Ian Laurie
no flags Details
File: os_info (693 bytes, text/plain)
2023-07-21 01:23 UTC, Ian Laurie
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 1793 0 None open A blueman read the contents of the sysfs filesystem 2023-07-24 13:26:09 UTC

Description Ian Laurie 2023-07-21 01:23:04 UTC
Description of problem:
Logged into Xfce.
SELinux is preventing blueman-mechani from 'read' accesses on the file possible.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that blueman-mechani should be allowed read access on the possible file 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:object_r:sysfs_t:s0
Target Objects                possible [ file ]
Source                        blueman-mechani
Source Path                   blueman-mechani
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.20-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.20-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              6.5.0-0.rc1.20230711git3f01e9fed845.12.fc39.x86_64
                              #1 SMP PREEMPT_DYNAMIC Wed Jul 12 14:03:10 UTC
                              2023 x86_64
Alert Count                   3
First Seen                    2023-07-18 11:38:29 AEST
Last Seen                     2023-07-21 11:19:33 AEST
Local ID                      e4fee050-73dd-4b60-8bea-a6dc0edbe4a1

Raw Audit Messages
type=AVC msg=audit(1689902373.900:111): avc:  denied  { read } for  pid=1905 comm="blueman-mechani" name="possible" dev="sysfs" ino=42 scontext=system_u:system_r:blueman_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=0


Hash: blueman-mechani,blueman_t,sysfs_t,file,read

Version-Release number of selected component:
selinux-policy-targeted-38.20-1.fc39.noarch

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing blueman-mechani from 'read' accesses on the file possible.
package:        selinux-policy-targeted-38.20-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.5.0-0.rc1.20230711git3f01e9fed845.12.fc39.x86_64
comment:        Logged into Xfce.
component:      selinux-policy

Comment 1 Ian Laurie 2023-07-21 01:23:06 UTC
Created attachment 1976833 [details]
File: description

Comment 2 Ian Laurie 2023-07-21 01:23:08 UTC
Created attachment 1976834 [details]
File: os_info

Comment 3 Fedora Update System 2023-08-07 07:04:30 UTC
FEDORA-2023-a79a6bdd37 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a79a6bdd37

Comment 4 Fedora Update System 2023-08-08 01:56:38 UTC
FEDORA-2023-a79a6bdd37 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a79a6bdd37`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a79a6bdd37

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-08-12 04:22:50 UTC
FEDORA-2023-a79a6bdd37 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.