Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1057262

Summary: SELinux is preventing /usr/libexec/geoclue from 'entrypoint' accesses on the file .
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f6bf85890583b76a22177ee436f70580cd8f1d596ae3158f17a2469fbff56ab6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-24 08:41:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joachim Frieben 2014-01-23 17:42:16 UTC
Description of problem:
SELinux is preventing /usr/libexec/geoclue from 'entrypoint' accesses on the file .

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

If you believe that geoclue should be allowed entrypoint access on the  file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep geoclue /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:initrc_t:s0-s0:c0.c1023
Target Context                system_u:object_r:bin_t:s0
Target Objects                 [ file ]
Source                        geoclue
Source Path                   /usr/libexec/geoclue
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           geoclue2-2.0.0-1.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-15.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.13.0-1.fc21.x86_64 #1 SMP Mon
                              Jan 20 17:07:12 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-01-23 18:41:11 CET
Last Seen                     2014-01-23 18:41:11 CET
Local ID                      78f86fe7-913b-45b2-9bf5-a5d0aac1b838

Raw Audit Messages
type=AVC msg=audit(1390498871.447:393): avc:  denied  { entrypoint } for  pid=1942 comm="dbus-daemon-lau" path="/usr/libexec/geoclue" dev="dm-0" ino=37261 scontext=system_u:system_r:initrc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file

type=SYSCALL msg=audit(1390498871.447:393): arch=x86_64 syscall=execve success=yes exit=0 a0=7f8b398969b0 a1=7f8b39896850 a2=7f8b39895010 a3=0 items=0 ppid=1941 pid=1942 auid=4294967295 uid=996 gid=995 euid=996 suid=996 fsuid=996 egid=995 sgid=995 fsgid=995 ses=4294967295 tty=(none) comm=geoclue exe=/usr/libexec/geoclue subj=system_u:system_r:initrc_t:s0-s0:c0.c1023 key=(null)

Hash: geoclue,initrc_t,bin_t,file,entrypoint

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.13.0-1.fc21.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-01-24 08:41:49 UTC
Has been fixed in the latest build.