Bug 701005

Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'open' accesses on the file /home/adrin/.cache/dconf/user.
Product: [Fedora] Fedora Reporter: Adrin Jalali <adrin.jalali>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:2e1a4b708616f20150a8fcd9595abb69a3ef16e7f5934ecd22bb45fab78741a4
Fixed In Version: selinux-policy-3.9.16-21.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-05 05:03:27 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 Adrin Jalali 2011-04-30 10:49:42 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'open' accesses on the file /home/adrin/.cache/dconf/user.

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

If you believe that telepathy-gabble should be allowed open access on the user 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 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:cache_home_t:s0
Target Objects                /home/adrin/.cache/dconf/user [ file ]
Source                        telepathy-gabbl
Source Path                   /usr/libexec/telepathy-gabble
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-gabble-0.12.0-1.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-18.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.4-20.fc15.x86_64 #1 SMP
                              Thu Apr 28 23:32:48 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Sat 30 Apr 2011 01:54:31 PM IRDT
Last Seen                     Sat 30 Apr 2011 01:58:32 PM IRDT
Local ID                      342b9969-f563-4869-b27d-500fdf13e8be

Raw Audit Messages
type=AVC msg=audit(1304155712.322:97): avc:  denied  { open } for  pid=3720 comm="telepathy-gabbl" name="user" dev=sda6 ino=3801768 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=file


type=SYSCALL msg=audit(1304155712.322:97): arch=x86_64 syscall=open success=no exit=EACCES a0=1357ad0 a1=42 a2=180 a3=7ffffa096e80 items=0 ppid=1 pid=3720 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,cache_home_t,file,open

audit2allow

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t cache_home_t:file open;

audit2allow -R

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t cache_home_t:file open;

Comment 1 Miroslav Grepl 2011-05-02 07:49:57 UTC
Fixed in selinux-policy-3.9.16-21.fc15

Comment 2 Fedora Update System 2011-05-02 10:57:33 UTC
selinux-policy-3.9.16-21.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-21.fc15

Comment 3 Fedora Update System 2011-05-03 04:29:13 UTC
Package selinux-policy-3.9.16-21.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-21.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-21.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-05-05 05:02:52 UTC
selinux-policy-3.9.16-21.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.