Bug 698888 - SELinux is preventing /usr/libexec/telepathy-salut from 'use' accesses on the fd /dev/null.
Summary: SELinux is preventing /usr/libexec/telepathy-salut from 'use' accesses on the...
Keywords:
Status: CLOSED DUPLICATE of bug 698884
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:4d2c0109c92...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-22 07:38 UTC by Elad Alfassa
Modified: 2011-04-22 09:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-22 09:15:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elad Alfassa 2011-04-22 07:38:33 UTC
SELinux is preventing /usr/libexec/telepathy-salut from 'use' accesses on the fd /dev/null.

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

If you believe that telepathy-salut 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-salut /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-salut
Source Path                   /usr/libexec/telepathy-salut
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-gabble-0.11.8-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-15.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                   2
First Seen                    IDT 10:36:04 2011 אפר 22 ו'
Last Seen                     IDT 10:36:14 2011 אפר 22 ו'
Local ID                      79a7ecbf-758f-49ba-85f7-ed03df2cbe63

Raw Audit Messages
type=AVC msg=audit(1303457774.99:68): avc:  denied  { use } for  pid=1586 comm="telepathy-gabbl" path="/dev/null" dev=devtmpfs ino=4420 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(1303457774.99:68): arch=x86_64 syscall=write success=no exit=EACCES a0=2 a1=e134e0 a2=8e a3=0 items=0 ppid=1 pid=1586 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-salut,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 Miroslav Grepl 2011-04-22 09:15:33 UTC

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


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