Bug 705049 - SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on the directory /home/archawka/.cache/wocky/caps.
Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d0af9afef48...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-16 13:44 UTC by Alex Ozhegov
Modified: 2011-05-16 20:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-16 20:00:17 UTC
Type: ---


Attachments (Terms of Use)

Description Alex Ozhegov 2011-05-16 13:44:14 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'read' accesses on the directory /home/archawka/.cache/wocky/caps.

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

If you believe that telepathy-gabble should be allowed read access on the caps directory 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                unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0
                              :c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /home/archawka/.cache/wocky/caps [ dir ]
Source                        telepathy-gabbl
Source Path                   /usr/libexec/telepathy-gabble
Port                          <Неизвестно>
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                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.i686 #1 SMP Wed Mar
                              30 16:54:01 UTC 2011 i686 i686
Alert Count                   2
First Seen                    Птн 13 Май 2011 15:54:20
Last Seen                     Пнд 16 Май 2011 11:05:32
Local ID                      accea44c-1603-43f1-bb38-76719b3fbd09

Raw Audit Messages
type=AVC msg=audit(1305529532.211:63): avc:  denied  { read } for  pid=1862 comm="telepathy-gabbl" name="caps" dev=dm-2 ino=129739 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir


type=SYSCALL msg=audit(1305529532.211:63): arch=i386 syscall=open success=yes exit=EFAULT a0=bfcc16eb a1=8000 a2=0 a3=0 items=0 ppid=1 pid=1862 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)

Hash: telepathy-gabbl,telepathy_gabble_t,user_home_t,dir,read

audit2allow

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t user_home_t:dir read;

audit2allow -R

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t user_home_t:dir read;

Comment 1 Miroslav Grepl 2011-05-16 20:00:17 UTC
Execute

# restorecon -R -v /home/archawka

and also update to the latest policy

# yum update selinux-policy

Comment 2 Alex Ozhegov 2011-05-16 20:39:25 UTC
Thanx, it's work.


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