Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1625000

Summary: SELinux is preventing geoclue from 'execute' accesses on the file 2F72756E2F73797374656D642F756E69742D726F6F742F746D702F666669587165336153202864656C6574656429.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, lvrabec, mgrepl, plautrba, pmoore, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:734a98f71cdbda40709822f46ca73f88238dcbe37ccd6754241c8f1a6f14c97d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-10 09:38:47 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 Mikhail 2018-09-03 21:49:25 UTC
Description of problem:
SELinux is preventing geoclue from 'execute' accesses on the file 2F72756E2F73797374656D642F756E69742D726F6F742F746D702F666669587165336153202864656C6574656429.

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

If you believe that geoclue should be allowed execute access on the 2F72756E2F73797374656D642F756E69742D726F6F742F746D702F666669587165336153202864656C6574656429 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 'geoclue' --raw | audit2allow -M my-geoclue
# semodule -X 300 -i my-geoclue.pp

Additional Information:
Source Context                system_u:system_r:geoclue_t:s0
Target Context                system_u:object_r:geoclue_tmp_t:s0
Target Objects                2F72756E2F73797374656D642F756E69742D726F6F742F746D
                              702F666669587165336153202864656C6574656429 [ file
                              ]
Source                        geoclue
Source Path                   geoclue
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-1.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.19.0-0.rc1.git4.1.fc30.x86_64 #1
                              SMP Fri Aug 31 15:13:00 UTC 2018 x86_64 x86_64
Alert Count                   12
First Seen                    2018-09-03 22:29:25 +05
Last Seen                     2018-09-04 02:45:09 +05
Local ID                      ea9e567b-2dd2-4a9a-9ce6-c25f51a946a2

Raw Audit Messages
type=AVC msg=audit(1536011109.959:1252): avc:  denied  { execute } for  pid=6448 comm="geoclue" path=2F72756E2F73797374656D642F756E69742D726F6F742F746D702F666669587165336153202864656C6574656429 dev="tmpfs" ino=10608175 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:geoclue_tmp_t:s0 tclass=file permissive=0


Hash: geoclue,geoclue_t,geoclue_tmp_t,file,execute

Version-Release number of selected component:
selinux-policy-3.14.3-1.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.19.0-0.rc1.git4.1.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-09-10 09:38:47 UTC

*** This bug has been marked as a duplicate of bug 1626533 ***