Bug 631264

Summary: SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin "lock" access on /tmp/.google-talk-plugin-sundaram.lock.
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:74bfcbeb17832609d6d272e114ad7c816974f416a7cbd5e933e2c58d2b97cc2f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-07 17:59:00 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 Rahul Sundaram 2010-09-07 17:40:04 UTC
Summary:

SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin "lock" access on
/tmp/.google-talk-plugin-sundaram.lock.

Detailed Description:

[GoogleTalkPlugi has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by GoogleTalkPlugi. It is not expected that this
access is required by GoogleTalkPlugi and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:tmp_t:s0
Target Objects                /tmp/.google-talk-plugin-sundaram.lock [ file ]
Source                        GoogleTalkPlugi
Source Path                   /opt/google/talkplugin/GoogleTalkPlugin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-talkplugin-1.5.1.0-1
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP
                              Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 07 Sep 2010 10:38:45 PM IST
Last Seen                     Tue 07 Sep 2010 10:38:45 PM IST
Local ID                      bf3eccd2-70ec-4e0e-bd61-01746e5aec8f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283879325.624:2143): avc:  denied  { lock } for  pid=9311 comm="GoogleTalkPlugi" path="/tmp/.google-talk-plugin-sundaram.lock" dev=dm-1 ino=26036 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283879325.624:2143): arch=40000003 syscall=143 success=yes exit=0 a0=8 a1=6 a2=9225f70 a3=ffcaa95c items=0 ppid=1 pid=9311 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="GoogleTalkPlugi" exe="/opt/google/talkplugin/GoogleTalkPlugin" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,GoogleTalkPlugi,mozilla_plugin_t,tmp_t,file,lock
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t tmp_t:file lock;

Comment 1 Daniel Walsh 2010-09-07 17:59:00 UTC

*** This bug has been marked as a duplicate of bug 631265 ***