Bug 672310

Summary: SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin from 'create' accesses on the netlink_kobject_uevent_socket Unknown.
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1b32bd542db265719108b24ff2c2a46622919d5bb1a289aa2800c59515870891
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-25 12:17:57 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 Rahul Sundaram 2011-01-24 19:31:25 UTC
SELinux is preventing /opt/google/talkplugin/GoogleTalkPlugin from 'create' accesses on the netlink_kobject_uevent_socket Unknown.

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

If you believe that GoogleTalkPlugin should be allowed create access on the Unknown netlink_kobject_uevent_socket 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 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                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                Unknown [ netlink_kobject_uevent_socket ]
Source                        GoogleTalkPlugi
Source Path                   /opt/google/talkplugin/GoogleTalkPlugin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-talkplugin-1.8.0.0-1
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.13-4.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-0.rc2.git0.1.fc15.x86_64
                              #1 SMP Sat Jan 22 19:02:39 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Mon 24 Jan 2011 07:10:46 PM IST
Last Seen                     Mon 24 Jan 2011 08:43:45 PM IST
Local ID                      2b7a9e22-0514-45cb-b03b-4f50a5ea7fdf

Raw Audit Messages
type=AVC msg=audit(1295882025.719:376): avc:  denied  { create } for  pid=25910 comm="GoogleTalkPlugi" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=netlink_kobject_uevent_socket


type=SYSCALL msg=audit(1295882025.719:376): arch=i386 syscall=getuid per=400000 success=yes exit=EAGAIN a0=1 a1=fff6fa30 a2=f7483d88 a3=2 items=0 ppid=1 pid=25910 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=9 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,mozilla_plugin_t,netlink_kobject_uevent_socket,create

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:netlink_kobject_uevent_socket create;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:netlink_kobject_uevent_socket create;

Comment 1 Miroslav Grepl 2011-01-25 12:17:57 UTC
Fixed in selinux-policy-3.9.13-5.fc15