Bug 700680 - SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses on the filesystem /.
Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'getattr' accesses o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:b57fbd11726...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-29 01:29 UTC by Jayson Reis
Modified: 2011-05-08 05:27 UTC (History)
23 users (show)

Fixed In Version: selinux-policy-3.9.16-21.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-05 05:03:15 UTC
Type: ---


Attachments (Terms of Use)

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.


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