Bug 827733

Summary: SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin from 'getattr' accesses on the file /proc/kcore.
Product: [Fedora] Fedora Reporter: Dario Castellarin <req1348>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bd79ef170a21a7ace9b0dbca971f1151622f8f83accff49f8d8d6b2f6950547f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-17 00:01:39 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 Dario Castellarin 2012-06-02 17:28:20 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-3.fc17.x86_64
time:           sab 02 giu 2012 19:28:04 CEST

description:
:SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin from 'getattr' accesses on the file /proc/kcore.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If si crede che GoogleTalkPlugin dovrebbe avere possibilità di accesso getattr sui kcore file in modo predefinito.
:Then si dovrebbe riportare il problema come bug.
:E' possibile generare un modulo di politica locale per consentire questo accesso.
:Do
:consentire questo accesso per il momento eseguendo:
:# grep GoogleTalkPlugi /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                system_u:object_r:proc_kcore_t:s0
:Target Objects                /proc/kcore [ file ]
:Source                        GoogleTalkPlugi
:Source Path                   /opt/google/talkplugin/GoogleTalkPlugin
:Port                          <Sconosciuto>
:Host                          (removed)
:Source RPM Packages           google-talkplugin-2.9.10.0-1.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-128.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-3.fc17.x86_64 #1 SMP Thu
:                              May 31 21:19:46 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    sab 02 giu 2012 19:26:52 CEST
:Last Seen                     sab 02 giu 2012 19:26:52 CEST
:Local ID                      550280c0-9a29-4b54-aaa6-49569e45bc3f
:
:Raw Audit Messages
:type=AVC msg=audit(1338658012.4:112): avc:  denied  { getattr } for  pid=17589 comm="GoogleTalkPlugi" path="/proc/kcore" dev="proc" ino=4026532031 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_kcore_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1338658012.4:112): arch=x86_64 syscall=stat success=yes exit=0 a0=263d248 a1=26371f0 a2=26371f0 a3=23 items=0 ppid=1 pid=17589 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=GoogleTalkPlugi exe=/opt/google/talkplugin/GoogleTalkPlugin subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: GoogleTalkPlugi,mozilla_plugin_t,proc_kcore_t,file,getattr
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-06-04 13:31:11 UTC
Fixed in selinux-policy-3.10.0-129.fc17

Comment 2 Fedora Update System 2012-06-11 20:59:05 UTC
selinux-policy-3.10.0-130.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-130.fc17

Comment 3 Fedora Update System 2012-06-15 23:56:43 UTC
Package selinux-policy-3.10.0-130.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-130.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9520/selinux-policy-3.10.0-130.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-06-17 00:01:39 UTC
selinux-policy-3.10.0-130.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.