Bug 659224 - SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on the file cert-CA Cert Signing Authority.
Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on t...
Keywords:
Status: CLOSED RAWHIDE
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:e40e9e042d3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-02 08:47 UTC by Matěj Cepl
Modified: 2018-04-11 07:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-02 09:56:01 UTC
Type: ---


Attachments (Terms of Use)

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.


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