Bug 659224

Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on the file cert-CA Cert Signing Authority.
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, mcepl, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e40e9e042d333aa07dab5333f2fe3f5537c28188f613803a0c5e6cf329a349ab
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-02 09:56:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matěj Cepl 2010-12-02 08:47:07 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on the file cert-CA Cert Signing Authority.

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

If you believe that telepathy-gabble should be allowed read access on the cert-CA Cert Signing Authority 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 /usr/libexec/telepathy-gabble /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0
                              :c0.c1023
Target Context                unconfined_u:object_r:config_home_t:s0
Target Objects                cert-CA Cert Signing Authority [ file ]
Source                        telepathy-gabbl
Source Path                   /usr/libexec/telepathy-gabble
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           telepathy-gabble-0.11.2-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.10-4.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.36.1-10.fc15.x86_64 #1 SMP Mon
                              Nov 29 14:41:22 UTC 2010 x86_64 x86_64
Alert Count                   8
First Seen                    St 1. prosinec 2010, 17:13:51 CET
Last Seen                     Čt 2. prosinec 2010, 08:26:55 CET
Local ID                      096e28cc-4995-41d5-a3b8-36b224025910

Raw Audit Messages
type=AVC msg=audit(1291274815.75:3970): avc:  denied  { read } for  pid=24417 comm="telepathy-gabbl" name=636572742D43412043657274205369676E696E6720417574686F72697479 dev=dm-9 ino=1331230 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file

telepathy-gabbl,telepathy_gabble_t,config_home_t,file,read
type=AVC msg=audit(1291274815.75:3970): avc:  denied  { open } for  pid=24417 comm="telepathy-gabbl" name=636572742D43412043657274205369676E696E6720417574686F72697479 dev=dm-9 ino=1331230 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file

telepathy-gabbl,telepathy_gabble_t,config_home_t,file,read
type=SYSCALL msg=audit(1291274815.75:3970): arch=x86_64 syscall=open success=yes exit=EISDIR a0=1eb4db0 a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=24417 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=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 key=(null)
telepathy-gabbl,telepathy_gabble_t,config_home_t,file,read

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t config_home_t:file { read open };

Comment 1 Miroslav Grepl 2010-12-02 09:56:01 UTC
Fixed in selinux-policy-3.9.10-5.fc15.