Bug 1300840

Summary: SELinux is preventing python3 from 'execute' accesses on the file 2F72756E2F666669786746784E59202864656C6574656429.
Product: [Fedora] Fedora Reporter: Giulio 'juliuxpigface' <juliux.pigface>
Component: bluemanAssignee: Pete Walter <walter.pete>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dominick.grift, dwalsh, fedora, fedora, juliux.pigface, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:84b0bec2b3db38b9aa79ace0195d955451241e4428e77db55a2ca3ca71b28b68;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 12:41:37 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:

Description Giulio 'juliuxpigface' 2016-01-21 22:00:08 UTC
Description of problem:
I encountered this after the boot of a Cinnamon Live session (Rawhide 20160121 Cinnamon Spin)
SELinux is preventing python3 from 'execute' accesses on the file 2F72756E2F666669786746784E59202864656C6574656429.

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

If you believe that python3 should be allowed execute access on the 2F72756E2F666669786746784E59202864656C6574656429 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:
# grep python3 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:blueman_t:s0
Target Context                system_u:object_r:blueman_var_run_t:s0
Target Objects                2F72756E2F666669786746784E59202864656C6574656429 [
                              file ]
Source                        python3
Source Path                   python3
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-168.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.5.0-0.rc0.git7.1.fc24.x86_64 #1
                              SMP Wed Jan 20 18:34:53 UTC 2016 x86_64 x86_64
Alert Count                   4
First Seen                    2016-01-21 16:44:45 EST
Last Seen                     2016-01-21 16:44:46 EST
Local ID                      aa20bdd0-8ac6-48ca-87b4-5f07b8bde7e3

Raw Audit Messages
type=AVC msg=audit(1453412686.283:537): avc:  denied  { execute } for  pid=2286 comm="blueman-mechani" path=2F72756E2F666669786746784E59202864656C6574656429 dev="tmpfs" ino=31222 scontext=system_u:system_r:blueman_t:s0 tcontext=system_u:object_r:blueman_var_run_t:s0 tclass=file permissive=0


Hash: python3,blueman_t,blueman_var_run_t,file,execute

Version-Release number of selected component:
selinux-policy-3.13.1-168.fc24.noarch

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.5.0-0.rc0.git7.1.fc24.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2016-01-25 07:38:10 UTC
What is a path to blueamn runtime files/dirs? Why is it executed?

Comment 2 Giulio 'juliuxpigface' 2016-01-29 21:14:05 UTC
1. I did a query with "locate blueman"
    a) The executable is "/usr/bin/blueman-applet"
    b) The sources are in: "/usr/lib/python3.5/site-packages/blueman"
    c) "/usr/share/blueman/ui" contains some UIs generated with Glade

2. Blueman is included in startup applications for Cinnamon. It's the bluetooth applet used by this desktop environment.

Comment 3 Jan Kurik 2016-02-24 14:19:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 4 Fedora Admin XMLRPC Client 2016-06-21 16:27:36 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2016-06-21 20:07:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora End Of Life 2017-07-25 19:49:44 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2017-08-08 12:41:37 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.