Bug 643196 - SELinux is preventing /bin/dbus-daemon "execute" access on /usr/libexec/mission-control-5.
Summary: SELinux is preventing /bin/dbus-daemon "execute" access on /usr/libexec/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9b15cca30bc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-14 21:32 UTC by Carl G.
Modified: 2010-10-18 05:43 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.7-3.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-18 05:43:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Carl G. 2010-10-14 21:32:17 UTC
Summary:

SELinux is preventing /bin/dbus-daemon "execute" access on
/usr/libexec/mission-control-5.

Detailed Description:

SELinux denied access requested by dbus-daemon. It is not expected that this
access is required by dbus-daemon and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                staff_u:staff_r:staff_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:telepathy_mission_control_exec_t
                              :s0
Target Objects                /usr/libexec/mission-control-5 [ file ]
Source                        dbus-daemon
Source Path                   /bin/dbus-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dbus-1.4.0-1.fc14
Target RPM Packages           telepathy-mission-control-5.6.0-2.fc14
Policy RPM                    selinux-policy-3.9.7-1.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-43.fc14.x86_64 #1 SMP
                              Wed Oct 13 21:23:02 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 14 Oct 2010 05:30:58 PM EDT
Last Seen                     Thu 14 Oct 2010 05:30:58 PM EDT
Local ID                      ef371003-be61-4963-b80a-dbe4bb559c03
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1287091858.357:28715): avc:  denied  { execute } for  pid=2360 comm="dbus-daemon" name="mission-control-5" dev=dm-2 ino=15825 scontext=staff_u:staff_r:staff_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:telepathy_mission_control_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1287091858.357:28715): arch=c000003e syscall=59 success=no exit=-13 a0=7fd7ffea5ee0 a1=7fd7fff2f6f0 a2=7fd7ffed2db0 a3=7fff6ca2a9a0 items=0 ppid=2359 pid=2360 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="dbus-daemon" exe="/bin/dbus-daemon" subj=staff_u:staff_r:staff_dbusd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,dbus-daemon,staff_dbusd_t,telepathy_mission_control_exec_t,file,execute
audit2allow suggests:

#============= staff_dbusd_t ==============
allow staff_dbusd_t telepathy_mission_control_exec_t:file execute;

Comment 1 Miroslav Grepl 2010-10-15 10:59:05 UTC
Carl, 
try to execute

# chcon -t bin_t /usr/libexec/mission-control-5 /usr/libexec/telepathy-*

Comment 2 Daniel Walsh 2010-10-15 12:56:19 UTC
I am changing this to the default for F14 and will put the transition back in.  So if people want to play with the confinement they can set the labels.

Fixed in selinux-policy-3.9.7-2.fc14

Comment 3 Fedora Update System 2010-10-15 15:51:46 UTC
selinux-policy-3.9.7-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-3.fc14

Comment 4 Fedora Update System 2010-10-15 19:06:57 UTC
selinux-policy-3.9.7-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-3.fc14

Comment 5 Fedora Update System 2010-10-18 05:43:13 UTC
selinux-policy-3.9.7-3.fc14 has been pushed to the Fedora 14 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.