Bug 707220 - SELinux is preventing /usr/libexec/telepathy-gabble from 'use' accesses on the fd /dev/null.
Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'use' accesses on th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1ead0ff7494...
: 707218 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-24 12:46 UTC by jeremy
Modified: 2011-05-24 12:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 12:54:50 UTC
Type: ---


Attachments (Terms of Use)

Description jeremy 2011-05-24 12:46:09 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'use' accesses on the fd /dev/null.

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

If you believe that telepathy-gabble should be allowed use access on the null fd 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 telepathy-gabbl /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:object_r:unlabeled_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0
                              :c0.c1023
Target Objects                /dev/null [ fd ]
Source                        telepathy-gabbl
Source Path                   /usr/libexec/telepathy-gabble
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-gabble-0.11.8-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-13.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar
                              30 16:55:57 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 22 Apr 2011 06:48:40 AM MST
Last Seen                     Fri 22 Apr 2011 06:48:40 AM MST
Local ID                      572cdf31-b4a9-462a-ba81-821959738b36

Raw Audit Messages
type=AVC msg=audit(1303480120.262:63): avc:  denied  { use } for  pid=1976 comm="telepathy-gabbl" path="/dev/null" dev=devtmpfs ino=4348 scontext=system_u:object_r:unlabeled_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023 tclass=fd


type=SYSCALL msg=audit(1303480120.262:63): arch=x86_64 syscall=write success=no exit=EACCES a0=2 a1=219b6a0 a2=8e a3=0 items=0 ppid=1 pid=1976 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=telepathy-gabbl exe=/usr/libexec/telepathy-gabble subj=system_u:object_r:unlabeled_t:s0 key=(null)

Hash: telepathy-gabbl,unlabeled_t,unconfined_dbusd_t,fd,use

audit2allow

#============= unlabeled_t ==============
allow unlabeled_t unconfined_dbusd_t:fd use;

audit2allow -R

#============= unlabeled_t ==============
allow unlabeled_t unconfined_dbusd_t:fd use;

Comment 1 Dominick Grift 2011-05-24 12:50:53 UTC
Please restart empathy (quit and start)

This should fix this issue

Comment 2 Miroslav Grepl 2011-05-24 12:54:50 UTC
And also please update to the latest policy

# yum update

Comment 3 Miroslav Grepl 2011-05-24 12:55:13 UTC
*** Bug 707218 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.