Bug 700680

Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses on the filesystem /.
Product: [Fedora] Fedora Reporter: Jayson Reis <jaysonsantos2003>
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: adrin.jalali, akurtako, alejandro.perez.torres, bruce, bugzilla, dan.ratje, dev, dwalsh, elad, hrafn, icj, lextori, litcanu, mail, Manteeq, mgrepl, niki.guldbrand, Nimataherkhani, ozgur.gundogan, phdoerfler, psimerda, simone.deponti, ycdmdj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:b57fbd11726df477dadce11173fd9bfce245a454860e2c9e2498b3771b3ac299
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:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jayson Reis 2011-04-29 01:29:07 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses on the filesystem /.

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

If you believe that telepathy-gabble should be allowed getattr access on the  filesystem 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                system_u:object_r:fs_t:s0
Target Objects                / [ filesystem ]
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           filesystem-2.4.40-1.fc15
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.3-18.fc15.x86_64 #1
                              SMP Fri Apr 22 13:24:23 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 28 Apr 2011 10:28:08 PM BRT
Last Seen                     Thu 28 Apr 2011 10:28:08 PM BRT
Local ID                      2f6c01d7-6410-44cf-80f4-d4fa99bf7b33

Raw Audit Messages
type=AVC msg=audit(1304040488.1:166): avc:  denied  { getattr } for  pid=6361 comm="telepathy-gabbl" name="/" dev=dm-2 ino=2 scontext=unconfined_u:unconfined_r:telepathy_gabble_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem


type=SYSCALL msg=audit(1304040488.1:166): arch=x86_64 syscall=statfs success=no exit=EACCES a0=23c80f0 a1=7fff09cca1f0 a2=3919316628 a3=7fff09cc9f70 items=0 ppid=1 pid=6361 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=8 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,fs_t,filesystem,getattr

audit2allow

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t fs_t:filesystem getattr;

audit2allow -R

#============= telepathy_gabble_t ==============
allow telepathy_gabble_t fs_t:filesystem getattr;

Comment 1 Miroslav Grepl 2011-04-29 07:13:04 UTC
Fixed in selinux-policy-3.9.16-19.fc15

Comment 2 Fedora Update System 2011-05-02 10:57:21 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:02 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:40 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.