Bug 1108247 - SELinux is preventing /usr/lib64/dbus-1/dbus-daemon-launch-helper from 'entrypoint' accesses on the file .
Summary: SELinux is preventing /usr/lib64/dbus-1/dbus-daemon-launch-helper from 'entry...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:46f920768651d100c1dbdc42780...
: 1055749 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-11 15:14 UTC by W. Andrew Denton
Modified: 2014-06-26 01:53 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.12.1-171.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-26 01:53:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description W. Andrew Denton 2014-06-11 15:14:00 UTC
Description of problem:
Start gnome-settings-daemon from Enlightenment. Duplicate of #1055749?
SELinux is preventing /usr/lib64/dbus-1/dbus-daemon-launch-helper from 'entrypoint' accesses on the file .

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

If you believe that dbus-daemon-launch-helper 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.
Do
allow this access for now by executing:
# grep dbus-daemon-lau /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                        dbus-daemon-lau
Source Path                   /usr/lib64/dbus-1/dbus-daemon-launch-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dbus-1.6.12-8.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-166.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.15.0-0.rc8.git2.2.fc21.x86_64 #1
                              SMP Wed Jun 4 16:32:44 UTC 2014 x86_64 x86_64
Alert Count                   2
First Seen                    2014-06-11 08:06:48 PDT
Last Seen                     2014-06-11 08:06:51 PDT
Local ID                      6ece2524-4841-494f-bcf4-2bfc76ff4127

Raw Audit Messages
type=AVC msg=audit(1402499211.282:2287): avc:  denied  { entrypoint } for  pid=18920 comm="dbus-daemon-lau" path="/usr/libexec/geoclue" dev="dm-1" ino=533871 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(1402499211.282:2287): arch=x86_64 syscall=execve success=no exit=EACCES a0=7fc0862857d0 a1=7fc0862864c0 a2=7fc086284010 a3=0 items=0 ppid=18919 pid=18920 auid=4294967295 uid=986 gid=979 euid=986 suid=986 fsuid=986 egid=979 sgid=979 fsgid=979 tty=(none) ses=4294967295 comm=dbus-daemon-lau exe=/usr/lib64/dbus-1/dbus-daemon-launch-helper subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)

Hash: dbus-daemon-lau,initrc_t,bin_t,file,entrypoint

Additional info:
reporter:       libreport-2.2.2
hashmarkername: setroubleshoot
kernel:         3.15.0-0.rc8.git2.2.fc21.x86_64
type:           libreport

Potential duplicate: bug 1055749

Comment 1 Miroslav Grepl 2014-06-11 15:28:45 UTC
Lukas,
could you back port the geoclue policy from rawhide?

Comment 2 Miroslav Grepl 2014-06-11 15:29:17 UTC
*** Bug 1055749 has been marked as a duplicate of this bug. ***

Comment 3 Lukas Vrabec 2014-06-11 15:38:11 UTC
sure.

Comment 4 Lukas Vrabec 2014-06-11 15:52:46 UTC
commit c8bd85b8cbc4c8bf7b242d1986a75ee0382e4e3e
Author: Lukas Vrabec <lvrabec>
Date:   Wed Jun 11 17:47:25 2014 +0200

    Added policy for geoclue

Comment 5 Fedora Update System 2014-06-19 13:19:04 UTC
selinux-policy-3.12.1-171.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-171.fc20

Comment 6 Fedora Update System 2014-06-19 22:53:16 UTC
Package selinux-policy-3.12.1-171.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-171.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7499/selinux-policy-3.12.1-171.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-06-26 01:53:55 UTC
selinux-policy-3.12.1-171.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, 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.