Bug 855527

Summary: SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from 'search' accesses on the directory 1899.
Product: [Fedora] Fedora Reporter: Dr.venkat <chanakya1245>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE 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:c6d2d06c34ff4f028de52f3780e46cb2750a14b6ddeff13d98250864fe4763a7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-10 06:25:44 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:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Dr.venkat 2012-09-08 16:08:06 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.3-1.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from 'search' accesses on the directory 1899.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-config should be allowed search access on the 1899 directory 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 plugin-config /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_config_t:
:                              s0-s0:c0.c1023
:Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
:                              023
:Target Objects                1899 [ dir ]
:Source                        plugin-config
:Source Path                   /usr/lib64/nspluginwrapper/plugin-config
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           nspluginwrapper-1.4.4-11.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug
:                              29 18:46:34 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-09-08 20:31:39 IST
:Last Seen                     2012-09-08 20:31:39 IST
:Local ID                      1d7b0b30-9a62-4c43-b450-b0bd0f73213b
:
:Raw Audit Messages
:type=AVC msg=audit(1347116499.235:59): avc:  denied  { search } for  pid=1903 comm="plugin-config" name="1899" dev="proc" ino=22811 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir
:
:
:type=SYSCALL msg=audit(1347116499.235:59): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff6a2d5640 a1=0 a2=1b6 a3=238 items=0 ppid=1899 pid=1903 auid=1000 uid=1000 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=plugin-config exe=/usr/lib64/nspluginwrapper/plugin-config subj=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-config,mozilla_plugin_config_t,unconfined_t,dir,search
:
:audit2allow
:
:#============= mozilla_plugin_config_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow mozilla_plugin_config_t unconfined_t:dir search;
:
:audit2allow -R
:
:#============= mozilla_plugin_config_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow mozilla_plugin_config_t unconfined_t:dir search;
:

Comment 1 Dr.venkat 2012-09-08 16:08:09 UTC
Created attachment 611018 [details]
File: type

Comment 2 Dr.venkat 2012-09-08 16:08:12 UTC
Created attachment 611019 [details]
File: hashmarkername